Hello,
I have 5 network aliases like eth0 eth0:1 eth0:2. I want onw of them to assign something like eth3. How can i create a virtual NIC on existing network connected through one of eth0 eliases.
Virtual ethernet card
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear osama,
Salam,
Best Regards.
Salam,
My understanding that this is not possible the way you are trying to do.osama wrote:I want to create virual device eth4 and map eth0:3 to eth5
Best Regards.
Farrukh Ahmed
-
- Naib Subedar
- Posts: 347
- Joined: Thu Aug 18, 2005 9:25 am
- Location: Attock
- Contact:
try to add vlan on your lan card and rename each interface as you wish and add as much vlans and assign ip to these interfaces using ip tools
better if you have two nic's create bond and than create vlans on that bond
for bonding and ethernet you have to install ifenslave and vlan-utils with their deps
better if you have two nic's create bond and than create vlans on that bond
for bonding and ethernet you have to install ifenslave and vlan-utils with their deps
Cheers
B I L A L
B I L A L