[NTLUG:Discuss] Multiple Address question
Stuart Johnston
saj at thecommune.net
Wed Jul 23 09:55:42 CDT 2003
2.4.x has a new command for assigning multiple addresses to a single
device. By default it does not define ethx:x type aliases but you can
add them if you want. I don't think you can do a range of addresses all
at once, though. The command looks like:
ip address add xxx.xxx.xxx.xxx dev ethx
See /usr/share/doc/iproute-2.4.7/ip-cref.ps for details.
HTH,
Stuart Johnston
HAI-Solutions
> I know that I can configure 128 IP Addresses using
> eth0:1 = x.x.x.1
> eth0:2 = x.x.x.2
> eth0:3 = x.x.x.3
> eth0:4 = x.x.x.4
> eth0:5 = x.x.x.5
> .
> .
> .
> eth0:128 = x.x.x.128
>
>
> Does anyone know if the 2.4.x kernel supports something like:
> eth0:1 = x.x.x.1/255.255.255.128
> instead of defining 128 virtual interfaces?
>
> I know that you could used to configure the system with something
> like eth0:0 = x.x.x.0/16 but it would go out and set up 128 virtual
> things anyway...
>
> Right now.. I've got 172 ( or so ) virtual devices and I'm about to
> add 64 more... Thought I'd see if there was a better way.... I know that
> there is a limit some where....
>
> jack
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
>
More information about the Discuss
mailing list