Re: ISP Redundancy

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

 



On Wed, 3 Jan 2001, Plinio Barraza wrote:

> So I have everything configured alright except the second IP will not
> answer as
> I have been unable to figure out how to asign a separate gateway for each
> ethernet card.  I am no longer sure if this is possible.  Could anyone
> suggest
> any solutions.  Idealy, I would like both IP numbers to answer transparently.

ifconfig eth0 <ip 1> netmask <mask 1> broadcast <bcast 1>
ifconfig eth1 <ip 2> netmask <mask 2> broadcast <bcast 2>
route add default gw <gateway 1> dev eth0
route add default gw <gateway 2> dev eth1

I haven't tried this but it should be right.

James Rich
james@eaerich.com

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux