- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Assign eth0 and eth1 on cloned RHEL3 for HP-xw4300
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP