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 11-12-2009, 06:11 AM   #1
skn
LQ Newbie
 
Registered: Aug 2009
Posts: 12

Rep: Reputation: 0
Configuring network on blade serever (CentOS)


Hi

We have two Blade center C series servers, who used to run vmware esx, but we are now moving away from vmvare, so I've reinstalled the two server with CentOS 5.4 X86_64.
It all vent fine, but now I'm stuck with the network configuration.
The blades are connected to two switches where 5 VLAN (1 LAN and 4 DMZ) have been created.

When I boot up the new OS, I see eth0 NIC, but configuring eth0 does not give me a connection. I've tried creating several VLANs but that didn't work either.

When the server was running vmware, eth1 had this configuration
Code:
DEVICE=eth1
ONBOOT=no

Can anyone give me som pointers?
What am I missing, a virtual switch or something like that?

regards Søren

Last edited by skn; 11-12-2009 at 06:15 AM.
 
Old 11-12-2009, 07:35 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by skn View Post
Hi

We have two Blade center C series servers, who used to run vmware esx, but we are now moving away from vmvare, so I've reinstalled the two server with CentOS 5.4 X86_64.
It all vent fine, but now I'm stuck with the network configuration.
The blades are connected to two switches where 5 VLAN (1 LAN and 4 DMZ) have been created.

When I boot up the new OS, I see eth0 NIC, but configuring eth0 does not give me a connection. I've tried creating several VLANs but that didn't work either.

When the server was running vmware, eth1 had this configuration
Code:
DEVICE=eth1
ONBOOT=no

Can anyone give me som pointers?
What am I missing, a virtual switch or something like that?

regards Søren
can you see *any* traffic passing over eth0?? -- tcpdump??
can you ping the def gw??
can you show the /etc/sysconfig/network-scripts/ifcfg-eth0 config and /etc/sysconfig/network ??
 
Old 11-12-2009, 09:00 AM   #3
skn
LQ Newbie
 
Registered: Aug 2009
Posts: 12

Original Poster
Rep: Reputation: 0
/etc/sysconfig/network shows:
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=Odense06
GATEWAY=192.168.1.2
GATEWAYDEV=eth0

/etc/sysconfig/network-scripts/ifcfg-eth0 shows:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
HWADDR=00:1B...etc.
TYPE=Ethernet
IPADDR=192.168.1.3
NETMASK=255.255.255.0

I have also tried adding BROADCAST, NETWORK and GATEWAY, but no help.


I am getting lots of things in tcpdump.
Mostly "arp who-has" and "IP 192.168.1.42 bootpc > 255.255.255.255 ..."
 
Old 11-12-2009, 09:11 AM   #4
skn
LQ Newbie
 
Registered: Aug 2009
Posts: 12

Original Poster
Rep: Reputation: 0
edited

Last edited by skn; 11-12-2009 at 09:17 AM.
 
Old 11-12-2009, 10:32 AM   #5
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by skn View Post
/etc/sysconfig/network shows:
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=Odense06
GATEWAY=192.168.1.2
GATEWAYDEV=eth0

/etc/sysconfig/network-scripts/ifcfg-eth0 shows:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
HWADDR=00:1B...etc.
TYPE=Ethernet
IPADDR=192.168.1.3
NETMASK=255.255.255.0

I have also tried adding BROADCAST, NETWORK and GATEWAY, but no help.


I am getting lots of things in tcpdump.
Mostly "arp who-has" and "IP 192.168.1.42 bootpc > 255.255.255.255 ..."
can i see the output of route -n as well??


can you ping the gateway device??
need the output of that too
 
Old 11-13-2009, 01:50 AM   #6
skn
LQ Newbie
 
Registered: Aug 2009
Posts: 12

Original Poster
Rep: Reputation: 0
route -n
Click image for larger version

Name:	2009-11-13_084936.gif
Views:	27
Size:	5.1 KB
ID:	1945
 
Old 11-13-2009, 02:38 AM   #7
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by skn View Post

can you ping gateway?
the reason i ask all this is because i have a similar set up
 
Old 11-13-2009, 04:21 AM   #8
skn
LQ Newbie
 
Registered: Aug 2009
Posts: 12

Original Poster
Rep: Reputation: 0
No, I can't ping anything.
This might be a network issue. This server used to be a production server, so it's on a high level security.
I just don't get why it's not working when I'm using the same IP addresses and MAC address as were on the ESX server it's replacing.
 
Old 11-13-2009, 08:28 AM   #9
skn
LQ Newbie
 
Registered: Aug 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by centosboy View Post
can you ping gateway?
the reason i ask all this is because i have a similar set up
Did you need any additional drivers when installing the OS?
 
Old 11-13-2009, 09:17 AM   #10
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
if you have ethtool utility, please post output for "ethtool eth0"

And check ethernet cable - it should be straight, because you connect NIC to router.
 
Old 11-16-2009, 05:30 AM   #11
skn
LQ Newbie
 
Registered: Aug 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
if you have ethtool utility, please post output for "ethtool eth0"

And check ethernet cable - it should be straight, because you connect NIC to router.
ethtool eth0 shows:

Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (0)
Duplex: Half
Port: Fibre
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Link detected: yes
 
Old 11-16-2009, 05:56 AM   #12
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by skn View Post
ethtool eth0 shows:

Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (0)
Duplex: Half
Port: Fibre
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Link detected: yes
I think the vlan is misconfigured....
 
  


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
Configuring multilink PPP on CentOS 5.0 sureshvadali Linux - Networking 18 09-11-2009 05:39 AM
centos 5 configuring dhcp santosh.chini Linux - Server 3 03-06-2009 07:00 AM
Problem configuring Sendmail on CentOS 5.2 baldur2630 Linux - Server 4 02-02-2009 07:34 AM
installing vmware in centos and configuring raghav1kumar Linux - Newbie 1 10-16-2008 05:13 AM
CVSNT on win2000 serever with AD and with SSh veeraalin General 1 02-21-2006 03:14 AM

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

All times are GMT -5. The time now is 04:48 PM.

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