> I'm new to this list so :)))
> I need small help - how to configure network in Leaf distro to have a few
> adresses on one eth0? in previous kernels i could make ip-aliases, but i
> read it's not a good way now (there isn't even ip-alias module), and i
> should use iptables. But how?

IP aliases are done the same way with 2.4 kernels as with 2.2.  A simple:

ip address add <ip> dev eth0

will do it.  If you want to, you can also add a device label, like the old
eth0:0, eth0:1 convention, although with 2.2/2.4 kernels, the sub-labels can
be anything you want (ie eth0:webserver), and are not restricted to the
eth0:n format:

ip address add <ip> dev eth0 label eth0:<mylabel>

Take a look at the output of "ip addr list" when you're done to verify
everything makes sense...

There should be a mechanism in Bering for doing this...in Dachstein, you use
the eth0_IP_EXTRA_ADDRS variable in network.conf.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


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

Reply via email to