Kenneth Schneider wrote:
The above example will work _if_ you keep the numbers in the same subnet. To use different subnets on the same PC use different physical devices or you will have nothing but problems with routing.
I never had problems with multiple disjoint subnets on one interface, but that may be due to using ip instead of ifconfig. ifconfig has reached its end of life. ip is much more powerful and easy to use. For example, if you want to add an IP to an interface: # ip address add 172.16.4.3/16 broadcast 172.16.255.255 dev eth0 Another IP to the same interface (short notation): # ip a a 192.168.5.7/24 brd + dev eth0 No virtual interfaces needed. Regards, Carl-Daniel -- http://www.hailfinger.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org