You are not logged in.
Pages: 1
I am using the arch linux for one of my server. the following are the details of NIC and ipaddress
Details:
eth0="eth0 192.168.168.X netmask 255.255.255.252 "
eth1="eth1 117.X.X.X netmask 255.255.255.248" its public ip
Both has the same gateway 192.168.168.6
gateway=" default gw 192.168.168.6 eth0"
We can able to login the server and ping the gateway 192.168.168.6 but we not able ping the www.google.com(for example).
I am trying to ping -I eth1 www.google.com -> Error destination host unreachable.
My problem is i am having same gateway for both ip my route table is
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.168.6 0.0.0.0 UG 0 0 0 eth0
117.X.X.X 0.0.0.0 255.255.255.248 U 0 0 0 eth1
192.X.X.X 0.0.0.0 255.255.255.252 U 0 0 0 eth0
I want to use inbound traffic in both ips but i want to set the all outbond traffic should be go through only in eth1. How to fix this
Offline
117.x.x.x is your internet connection?
What is 192.168.168.6?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Ya 117.X.X.X is one the public ip giving to connect the radius server , 192.168.168.6 is thier private network to route the internet connection
Offline
I think you must try read and understand this one document: Multiple Connections to the Internet
Or search by key words: "dual homed gateway linux".
Last edited by kurych (2011-12-07 08:14:54)
Offline
Pages: 1