Messages in this thread | | | Date | Fri, 29 Jan 1999 00:52:51 +0100 | From | Jochen Heuer <> | Subject | Re: Network Aliasing Module missing in 2.2.x ? |
| |
On Thu, Jan 28, 1999 at 10:28:48PM +0000, Ron Flory wrote: > hi- > > > > A buddy and I have noticed that network IP aliasing seems to have > > > disappeared in 2.2. > > > > > No. It's there. I'm pretty sure it's there since I have few systems with 3-10 > > ip adressed on one Ethertnet card here with kernel 2.2.0 :-) > > Eh? We both get something like: > > [root@babylon linux-2.2.ac1]# ifdown eth0 > [root@babylon linux-2.2.ac1]# ifup eth0 > Error > No kernel support for devices aliasing[root@babylon linux-2.2.ac1]#
Let me guess, you both use RedHat-5.x? That's a problem of linuxconf. When you run ifup the following command will be executed:
linuxconf --hint ipalias eth0
This command says that no ip aliasing is present, although it really is:
[root@planetzork /root]# ifconfig eth0 Link encap:Ethernet HWaddr 00:00:B4:32:4C:87 inet addr:195.37.122.246 Bcast:195.37.122.255 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:550313 errors:0 dropped:0 overruns:0 frame:0 TX packets:1322933 errors:0 dropped:0 overruns:0 carrier:0 collisions:939 txqueuelen:100 Interrupt:10 Base address:0x280
eth0:0 Link encap:Ethernet HWaddr 00:00:B4:32:4C:87 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0x280
Try:
ifconfig eth0:0 ip1 ....
Regards,
Jogi
--
Well, yeah ... I suppose there's no point in getting greedy, is there?
<< Calvin & Hobbes >>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |