- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Assign eth0 and eth1 on cloned RHEL3 for HP-xw4300
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 11:57 PM
тАО10-11-2005 11:57 PM
Assign eth0 and eth1 on cloned RHEL3 for HP-xw4300
28:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 01)
For convienient usage I want the additional card to be eth1 with a dedicated IP-addess, while eth0 should be set from the company wide DHCP server.
This can be done with 'redhat-config-network' by assigning the MAC addresses.
But if I clone this workstation and install the diskimage of machine on an other workstation, this MAC information is now incorrect.
Are there any tools, to do the wanted assignment on the new system automaticaly without user invention?
Thanks in advance,
Guenter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 01:32 AM
тАО10-12-2005 01:32 AM
Re: Assign eth0 and eth1 on cloned RHEL3 for HP-xw4300
So, when the service starts, it modifies the files according to the machine that is started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 02:52 AM
тАО10-12-2005 02:52 AM
Re: Assign eth0 and eth1 on cloned RHEL3 for HP-xw4300
if you want one NIC to be static IP address and the second one to be DHCPD assigned then it should be possible to do this by editing the /etc/sysconfig/network-scripts/ifcfg-ethX file where ethX is either eth0 or eth1.
These are the files which tells what is the type of connection (DHCP, static) and other details including whether they should be activated at boot.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 03:37 AM
тАО10-12-2005 03:37 AM
Re: Assign eth0 and eth1 on cloned RHEL3 for HP-xw4300
But my problem is how to detect wich controller I need with 'lspci' I get the same string'
and even the PCI Bus identifier do not show to me which one is the primary and which the additional controller.
Greetings,
Guenter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 11:13 PM
тАО10-12-2005 11:13 PM
Re: Assign eth0 and eth1 on cloned RHEL3 for HP-xw4300
Alright if your problem is identifying which device is eth0 and which is eth1, then kudzu should be able to help you with it.
Kudzu checks the hardware configurations and writes the information (like device name, driver etc) in to /etc/sysconfig/hwconf file. This file will have two entries (one for eth0 and one for eth1) by parsing this file you should be able to to know the device.
Hope I am correct this time,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 11:25 PM
тАО10-12-2005 11:25 PM
Re: Assign eth0 and eth1 on cloned RHEL3 for HP-xw4300
Kudzu does the assignment in the sequenz as the eth-devices are found by the kernel and destroys my MAC-assignment and needs user interaction too.
The real problem is the PCI assignment.
As long as all machines will be delivered with
the additional card in the same slot, I think I will get always the same assignment. But the cloned image will be installed on different computer worldwide from different factories, and I can't be sure that they are all build with the same layout. I only know both controller will be Broadcom with tg3 driver.
Greetings,
Guenter