LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2011, 04:31 AM   #1
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 234

Rep: Reputation: 18
bonding issue


Hi All

I have configured bonding on 64 bit centos 5.4

I have to put the machine to a different VLAN for that i did the Ip change and restated the network. but i cant ping the gateway or any other server in that network. the cofig files are as follows


vi /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter aacraid
alias scsi_hostadapter1 ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias bond0 bonding
options bonding mode=1 miimon=100

cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.4.122.100
NETMASK=255.255.255.224
GATEWAY=10.4.122.98


cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MTU=1500
MASTER=bond0
SLAVE=yes

cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=00:21:5E:70:12:CA
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
MTU=1500
USERCTL=no


the new IP address 10.4.123.6
gateway 10.4.123.1
netmask 255.255.255.0

someone please let me know what i am doing wrong
 
Old 06-14-2011, 05:30 AM   #2
ssrameez
Member
 
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82

Rep: Reputation: 6
Quote:
Originally Posted by fernfrancis View Post

cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.4.122.100
NETMASK=255.255.255.224
GATEWAY=10.4.122.98


the new IP address 10.4.123.6
gateway 10.4.123.1
netmask 255.255.255.0
I am not sure whether I understood your problem correctly.
But I could see a difference in the IP address that you are using in your bond and the subnet range.

Your bond is configured to have 10.4.122 subnet. and the new IP address seems to be in 10.4.123. Is that intended?
 
Old 06-14-2011, 11:36 PM   #3
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 234

Original Poster
Rep: Reputation: 18
in that file i change the values and restart the network service

cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.4.122.100 ------ this is changed to 10.4.123.6
NETMASK=255.255.255.224 ------ this to 255.255.255.0
GATEWAY=10.4.122.98 ------ this to 10.4.123.1

After the the above changes are done and network changes are done i cant ping any other machine in the 10.4.123.X range

what could be the reason for this?

before this change was done i could ping the machines in the 10.4.122.X/27 range.
 
Old 06-15-2011, 05:03 AM   #4
ssrameez
Member
 
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82

Rep: Reputation: 6
To which subnet your computer (physically) connected to, 10.4.123 or 10.4.122
 
Old 06-15-2011, 11:42 PM   #5
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 234

Original Poster
Rep: Reputation: 18
In the same network we have different vlans.After changing the IP i try to ping the machines in that valn but cant for some reason dont know why
 
Old 06-16-2011, 12:17 AM   #6
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 37
Is the port trucked with new vlan? This settings need to be done on switch level.
So even if you are intend to ping both the vlan the underlying port on switch needs to be truncked with the new vlan.
I think you need to trunk 123 series vlan with the port.
10.4.123.X
You must be physically connected to 10.4.122.X as you can able to ping that series machine.

Seek help from your network team.

Last edited by pinga123; 06-16-2011 at 12:23 AM.
 
  


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
Bonding driver Issue: Dynamically changing mode (Active-Backup / Broadcast) Mallika-Gautam Linux - Networking 0 09-29-2010 08:41 AM
RedHat 5.4 bonding issue mauleta Linux - Networking 3 08-06-2010 03:55 PM
bonding bonding-xor and bonding-alb Chrysalis Linux - Networking 1 10-24-2009 02:14 PM
Infiniband Bonding and Ethernet Bonding edcrozer Linux - Networking 0 11-07-2007 03:57 PM
Bonding netxtreme DNS Clearing ISSUE! colincraig127 Linux - Server 0 07-27-2007 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:11 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