Ricardo Kleemann wrote:
Hi,

I want to add virtual interfaces, like eth0:0, eth0:1, etc... that have a different network and mask as my current addresses.

you can do it in /etc/network/interfaces, here's mine:

#eth2 faces clients
auto eth2
iface eth2 inet static
   address 192.168.11.254
   netmask 255.255.255.0
   broadcast 192.168.11.255
auto eth2:0
iface eth2:0 inet static
   address 192.168.42.254
   netmask 255.255.255.0
   broadcast 192.168.42.255

Bear in mind that you don't need to define both interfaces in shorewall, it sees them as a single interface.

loc   eth2   detect   dhcp

--
Jack at Monkeynoodle dot Org: It's a Scientific Venture...
Riding the Emergency Third Rail Power Trip Since 1996



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to