Re: Double IP Address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 13 Mar 2002, S. Khademi wrote:
> I use two ethernet card and I have set these, when I use route command
> I see these information :
>
>
> Deastination  Gateway	   Qenmask	  Flags Metric Ref use   infac
> 213.29.206.0  *            255.255.255.0  U     0      0   0     eth0
> 213.19.150.0  *            255.255.255.0  U     0      0   0     eth1
> 127.0.0.0     *            255.0.0.0      U     0      0   0     lo
> default       213.29.206.1 0.0.0.0        UG    0      0   0     eth0
> default       213.19.150.1 0.0.0.0        UG    0      0   0     eth1
>
> and I have set these IPs to my eth0 and eth1 and when I type ifconfig
> command I see that IP address for eth0 is 213.29.206.2   with subnetmask
> 255.255.255.0  and Ip address for eth1 is 213.19.150.248 with subnetmask
> 255.255.255.0
> but when I ping from forexample www.all-nettools.com these IPs one
> address answer and another doesn't answer and tell this message
>  Host unreachabl
> Now how I can set ??????
James,

You have 2 default routes, you should have only one : )

If you have 2 diff ways to get to the INTERNET (2 ISP connections) you need
  to do one of 2 things.

 1- Change the default gw manually when on of them goes down.
    cheap solution but not good for a production environment.
 2- Install a router that can do BGP4, expensive (time/dollars) )solution.
    If you only have a regular modem, a aDSL or a cable modem, you can forget about
    this one. Most ISP will not allow to use BGP4 unless you have a T1 or
    higher.

This is a routing question, not a linux security one : )

check this
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Regards,

David Correa
Public Key http://www.linux-tech.com/linuxtech.asc
Key fingerprint 7F2C E072 479D 71B4 008B 373E A284 8CDE 7659 F5D8




------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux