LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2011, 07:18 PM   #1
grgsmith
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
eth 0 eth1 auto assignments


I am having a problem with auto assignment of network connections.
I have a mint Linux host machine with two nics (eth0,eth1)and vmware workstation running win7 vm. win7 is net bridged to host via eth0. what I am trying to do is create a ghost master to deploy to several machines in a lab environment. the problem is that when I deploy this image to the other computers, the new clients get assigned eth2 & eth3 as active connections leaving eth0 & eth1 in list but dead. This forces me to reassign vmnet0 to bridge with eth2 by hand in each client. Is there any way to configure the master to retain eth0 & eth1 as the active connections in the deployed client automatically?
I have tried every thing I can think of but am about to give up!
thanks,
Greg
 
Old 06-01-2011, 07:23 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I'm not sure how to fix the problem on your master images, but I can tell you where the problem lies. udev ties eth0/1/2/etc to MAC address through the file /etc/udev/rules.d/70-persistent-net.rules (the 70 can be a different number on your system depending on what order udev is running the rules).

But I'm not sure what you should do to your master image to fix this other than remove those lines and see if udev will assign them correctly on the new machine.
 
Old 06-01-2011, 07:32 PM   #3
grgsmith
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
thanks pljvaldez,
I forgot about net.rules file. i will try this in the morning.
Greg
 
Old 06-03-2011, 10:13 AM   #4
grgsmith
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
tried removing entries from rules file in ghost explorer. this seems to work, but leaves artifact entries in connections list (eth0, eth1, auto eth0, auto eth1). will do more testing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux redhat 5 does not detects my second eth card - eth1 ynatan Linux - Networking 1 08-22-2010 03:33 AM
Fedora Ethernet File Locations for Auto eth[x] devices missing ifcfg-ethX files rupaniii Linux - Newbie 1 07-25-2010 02:03 AM
Can Eth device names(or macs) be correlated to the physical eth port? VG1 Linux - Networking 1 12-01-2009 06:13 PM
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 01:11 AM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration