How to create network interface aliases in UBUNTU 7.04
- From: "Agustin Navarro" <agustin.navarro@xxxxxxxxx>
- Date: Sun, 22 Apr 2007 12:22:42 -0400
In UBUNTU 7.04 I have not been able to create aliases for the network
interface.
I modified the /etc/network/intercaes to:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth0:0
iface eth0:0 inet static
address 192.168.0.2
network 192.168.0.0
broadcast 192.168.0.255
netmask 255.255.255.0
auto eth0:1
iface eth0:1 inet static
address 192.168.0.3
network 192.168.0.0
broadcast 192.168.0.255
netmask 255.255.255.0
auto eth0:2
iface eth0:2 inet static
address 192.168.0.4
network 192.168.0.0
broadcast 192.168.0.255
netmask 255.255.255.0
auto eth0:3
iface eth0:3 inet static
address 192.168.0.5
network 192.168.0.0
broadcast 192.168.0.255
netmask 255.255.255.0
root@abril:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:11:76:5F:68
inet addr:200.84.240.218 Bcast:200.84.255.255 Mask:255.255.224.0
inet6 addr: fe80::211:11ff:fe76:5f68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7124 errors:0 dropped:0 overruns:0 frame:0
TX packets:6702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6952014 (6.6 MiB) TX bytes:1145898 (1.0 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:460 (460.0 b) TX bytes:460 (460.0 b)
I get no errors
and I can do it manually by the command:
root@abril:~# ifconfig eth0:0 192.168.0.2 network 192.168.0.0 netmask
255.255.255.0
and get:
root@abril:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:11:76:5F:68
inet addr:200.84.240.218 Bcast:200.84.255.255 Mask:255.255.224.0
inet6 addr: fe80::211:11ff:fe76:5f68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7124 errors:0 dropped:0 overruns:0 frame:0
TX packets:6702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6952014 (6.6 MiB) TX bytes:1145898 (1.0 MiB)
eth0:0 Link encap:Ethernet HWaddr 00:11:11:76:5F:68
inet addr:192.168.0.0 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:460 (460.0 b) TX bytes:460 (460.0 b)
Can somebody provide some help here ??
By the way, it works fine in UBUNTU 6.06
Thanks in advance..... --
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: How to create network interface aliases in UBUNTU 7.04
- From: Agustin Navarro
- Re: How to create network interface aliases in UBUNTU 7.04
- Prev by Date: Ubuntu LDAP Server
- Next by Date: Re: Switch to Ubuntu
- Previous by thread: Ubuntu LDAP Server
- Next by thread: Re: How to create network interface aliases in UBUNTU 7.04
- Index(es):
Relevant Pages
|