Re: Multiple ISP Provider on one interface

Linux Advanced Routing and Traffic Control

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

 



On Sat, 23 Jul 2005 15:51:43 +0100 ZeuS SN <zeus_securenet@xxxxxxxxxxx> wrote:

>The problem is that I have only 2 ethernet adapters in my linux router,
>one of this adapter pluged to the LAN and the other is pluged to a HUB
>who have 2 routers DSL. Each DSL routers have an static ip and the
>solution that I found was creating an eth0 and eth0:1 but with this
>option I have any way to use the eth0:1 adapte...
You don't have to use eth0:1, it is actually considered obsolete since kernel
2.2. Use
ip addr add ip1/mask1 dev eth0
ip addr add ip2/mask2 dev eth0

As far as I know, modern distributions support this, although I am not sure
about the exact syntax in their configuration files. In Shurdix I do it like
this: http://docs.shurdix.org/shurdix:network_interfaces#ip

>Regards.
Yours sincerely,
Peter
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux