This is a discussion on IFCFG shows duplicate interfaces within the Linux Networking forums, part of the Linux Forums category; Hi, I am using the Linux 2.4.19 kernel and have build the VLAN with the kernel compilation. I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I am using the Linux 2.4.19 kernel and have build the VLAN with the kernel compilation. I am trying to add the VLANs using the vconfig then using the ifconfig assigning the IP. Let's assume I created the following vlans on eth1 VLAN11: id=11 IP=11.11.11.11 Netmask:255.255.255.0 VLAN12: id=12 IP=12.12.12.12 Netmask:255.255.255.0 Now if I use the ifconfig all the interfaces are displayed correctly In next step I am creating the VLAN 10: VLAN10: id=10 IP=10.10.10.10 Netmask:255.255.255.0 VLAN100: id=100 IP=100.100.100.100 Netmask:255.255.255.0 Now when I use the ifconfig all the interfaces are being displayed twice, it is starnge. Same time if I use ip addr command it shows only one entry. I tried ip addr add to assign the IPs instead of ifconfig but same result. Am I doing something wrong here ? Can someone help me to understand it better if I might be doing something wrong ? Thanks, Ashok |