Hi friends,
I have linux box redhat 8.0. it has four port dlink
card. I have 2 isps. now i want to configure 2 ips on this ethernet
card.
example
eth0 = 192.168.0.10/ 255.255.255.192 isp 1
(public ip) gateway = 192.168.0.1
eth1 = 172.16.0.10/ 255.255.255.240 isp 2
(public ip) gateway = 172.16.0.1
now i m giving
ip route add default via 192.168.0.1 then
....all traffic is going to isp1 link
but then from www.tracert.com i cant ping or trace my isp2
ip that is 172.16.0.10
if i do this
ip route add default via 172.16.0.1 then ...all
traffic is going to isp2 link
but then from www.tracert.com i cant ping or trace my isp1
ip that is 192.168.0.10
so can any body tell me what should i do in this
case. I want this both isps ip address to live on internet. i want to pass some
traffic on isp1 link and some traffic on isp2 link.
what will the routing??? how do i configure 2
gateways so that both ip can be live on internet.
waiting for kind reply.
Thanks,
Joel n.Solanki
Systems Engineer
D2V ISP Pvt Ltd.
Vadodara.
|