Dobrý den,
mám Internet konektivitu na eth2 a 3g-wan2 interface.
Nevím, proč mi nefunguje nastavení specifického interface pro konkrétní destination IP host adresu.
3g-wan2 je spojen takto:
2014-05-16T05:14:56+02:00 notice pppd[3395]: pppd 2.4.5 started by root, uid 0
2014-05-16T05:14:57+02:00 info pppd[3395]: Serial connection established.
2014-05-16T05:14:57+02:00 info pppd[3395]: Using interface 3g-wan2
2014-05-16T05:14:57+02:00 notice pppd[3395]: Connect: 3g-wan2 <--> /dev/ttyUSB0
2014-05-16T05:15:01+02:00 warning pppd[3395]: Could not determine remote IP address: defaulting to 10.64.64.64
2014-05-16T05:15:01+02:00 notice pppd[3395]: local IP address 10.80.249.233
2014-05-16T05:15:01+02:00 notice pppd[3395]: remote IP address 10.64.64.64
2014-05-16T05:15:01+02:00 notice pppd[3395]: primary DNS address 93.153.117.1
Routovací tabulku upravuji takto:
route add -host 93.153.117.1 dev 3g-wan2
root@turris:~# route
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.64.64.64 0.0.0.0 UG 0 0 0 3g-wan2
default ip-94-... 0.0.0.0 UG 0 0 0 eth2
10.64.64.64 * 255.255.255.255 UH 0 0 0 3g-wan2
93.153.117.1 * 255.255.255.255 UH 0 0 0 3g-wan2
94... * 255.255.254.0 U 0 0 0 eth2
192.168... * 255.255.255.0 U 0 0 0 br-lan
192.168.100.0 * 255.255.255.0 U 0 0 0 eth2
ping 93.153.117.1 odchází po eth2 interface.
Co dělám špatně ?
ping -I 3g-wan2 93.153.117.1 odchází správně po 3g-wan2 interface.
Děkuji.