Hi,
I'm back to this problem again (haven't solved it for the first time). If I put eth2 to dhcp SIP connection works, but none other network traffic doesn't (on other two network cards that LMCE is using)... Now I'm trying to setup all cards at once and I cannot ping 10.145.64.1 gateway in such setup...
Can anyone help me with this setup ?
/etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.80.2
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
auto eth2
#iface eth2 inet dhcp
iface eth2 inet static
address 10.145.105.79
netmask 255.255.192.0
post-up /etc/network/sip_route_up
pre-down /etc/network/sip_route_down
/etc/network/sip_route_up:
#!/bin/sh
route add -net 10.233.1.0 netmask 255.255.255.0 gw 10.145.64.1 dev eth2
route add -net 10.145.64.0 netmask 255.255.192.0 gw 10.145.64.1 dev eth2
/etc/network/ sip_route_down:
#!/bin/sh
route del -net 10.233.1.0 netmask 255.255.255.0 gw 10.145.64.1 dev eth2
route del -net 10.145.64.0 netmask 255.255.192.0 gw 10.145.64.1 dev eth2
The SIP server I'm trying to connect to is at 10.233.1.54, but I even cannot ping gateway at 10.145.64.1
Any advice from more experienced ?
Thanks in advance,
regards,
Bulek.