Hi I;ve trixbox installed with 2 NICs. One NIC carries the MPLS-VPN traffic (only a 1 MB link without internet for carrying voice to another site) while the other NIC has a connection with public IP for internet services on that machine. the first NIC (eth0) has IP of 172.16.0.1 and is connected to router with WAN IP: 10.18.6.254 , the second IP is 203.234.82.98 (eth1). i want to have the internet access to this machine at all times as i need to pull out reports etc. Problem : both NICs dont work together i.e i have to do ifdown eth0 to ping yahoo.com (via second nic) and i have to do ifup eth0 and ifdown eth1 to ping the router IP of MPLS VPN that is 10.18.6.254. The resolve.conf has nameservers of both ISP as well as MPLS - VPN that the provider gave. I get a Request timed out if i try to keep both interfaces up and do a ping to either public internet or router of mpls can anyone please suggest Rgds Sriram -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100313/85555228/attachment.htm
On Sat, Mar 13, 2010 at 9:40 AM, Sriram <d_r_sriram at hotmail.com> wrote:> > > > > Hi > > > > I;ve trixbox installed with 2 NICs. One NIC carries the MPLS-VPN traffic > (only a 1 MB link without internet for carrying voice to another site) while > the other NIC has a connection with public IP for internet services on that > machine. > > > > the first NIC (eth0) has IP of 172.16.0.1 and is connected to router with > WAN IP: 10.18.6.254 , the second IP is 203.234.82.98 (eth1). i want to have > the internet access to this machine at all times as i need to pull out > reports etc. > > > > Problem : both NICs dont work together i.e i have to do ifdown eth0 to ping > yahoo.com (via second nic) and i have to do ifup eth0 and ifdown eth1 to > ping the router IP of MPLS VPN that is 10.18.6.254. The resolve.conf has > nameservers of both ISP as well as MPLS - VPN that the provider gave. I get > a Request timed out if i try to keep both interfaces up and do a ping to > either public internet or router of mpls > > > > can anyone please suggest > > > > Rgds > > Sriram > > It is probably routing and your default gateway. Type route and paste theresults into your reply. This could be your problem as well "*the first NIC (eth0) has IP of 172.16.0.1 and is connected to router with WAN IP: 10.18.6.254 , the second IP is 203.234.82.98 (eth1). i want to have the internet access to this machine at all times as i need to pull out reports etc*." Maybe you were in a rush or I am non reading that right, but I don't really get the impression that you understand networking. Does any of it work with one NIC up? You don't really say what works and what doesn't or what does. Thanks, Steve Totaro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100313/ca9ce8b7/attachment-0001.htm
>> It is probably routing and your default gateway. Type route and paste theresults into your reply. Sorry, 172.16.0.1 is the local IP address and it is connected to the MPLS Router whose WAN interface is 10.224.6.121.this is for first NIC. Second NIC has a public IP. Now if I ping yahoo.com I get a reply and if I ping the 10.224.6.121 it just hangs on (no response). If I do ifup eth0 and fire ping yahoo.com I don't get any response but I get reply on 10.224.6.121 My routing table : [trixbox1.localdomain ~]# netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 203.234.82.90 0.0.0.0 255.255.255.224 U 0 0 0 eth0 172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 203.234.82.91 0.0.0.0 UG 0 0 0 eth0 This could be your problem as well "*the first NIC (eth0) has IP of 172.16.0.1 and is connected to router with WAN IP: 10.18.6.254 , the second IP is 203.234.82.98 (eth1). i want to have the internet access to this machine at all times as i need to pull out reports etc*." Maybe you were in a rush or I am non reading that right, but I don't really get the impression that you understand networking. Does any of it work with one NIC up? You don't really say what works and what doesn't or what does. Though not expert I understand networking. So request you to please guide me Thanks Sriram -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100313/a2b0217f/attachment.htm