You can do this, it's like sub-interfacing on a cisco router, but you still need to 
turn on routing or setup static routes.

  ifconfig eth0 10.1.1.1 255.255.255.0
  ifconfig eth0:0 10.1.2.1 255.255.255.0
  ifconfig eth0:1 10.1.3.1 255.255.255.0

You can have upto 255 subnets on each nic..

or can edit /etc/rc.d/rc.local
add 

ifconfig eth0:0 10.1.2.1 255.255.255.0
ifconfig eth0:1 10.1.3.1 255.255.255.0

at the end of the file..




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to