> > > I tried to set up ip aliases but it does not work:
> > >
> >Honestly I have never tried :-) The following setup
> >should work
> >
> >auto eth0
> >iface eth0 inet static
> >           address 192.168.1.254
> >           masklen 24
> >           gateway xx.xx.xx.xx
> >up ip address add 192.168.1.254 dev eth0 label eth0:0
>
> This works, but there are more problems with ipup:
>
> ---
> auto eth0 eth0
>
> iface eth0 inet static
>          address 192.168.1.254
>          masklen 24
>          gateway 212.18.9.1
>
> iface eth1 inet static
>          address 212.18.9.2
>          masklen 28
> ---
>
> However this won´t work. You have to put the "gateway"
option in the "iface
> eth1" block.
> The system refuses to set a default gw if it can´t
route to it (pretty
> clever ;-))).
>
> The "ipup" package is in my opinion "to old" for 2.4.xx
and iproute based
> systems....
Well I do not know what you mean by "too old". It is the
latest "sid" debian version and I adapted it to replace
the ifconfig/route commands by the ip addr/ip route combo.
The interface file is very flexible: you can embedded as
many ip command as you what through the up/down/pre-
up/pre-down prefix.
My advice: use the -s flag to see what an ifup eth1
command is doing
ifup -s eth1 (or ifdown -s eth1)
It will show you the precise sequences of command that
will be executed when starting/stopping the interface
Jacques
--------------
Profitez de l'offre spéciale Tiscali Liberty Surf !
50% de temps en plus pendant 3 mois sur tous les forfaits Internet.

http://register.libertysurf.fr/subscribe_fr/signup.php3



_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to