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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-14-2011, 04:31 AM
|
#1
|
|
Member
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 214
Rep:
|
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
|
|
|
|
06-14-2011, 05:30 AM
|
#2
|
|
Member
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82
Rep:
|
Quote:
Originally Posted by fernfrancis
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?
|
|
|
|
06-14-2011, 11:36 PM
|
#3
|
|
Member
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 214
Original Poster
Rep:
|
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.
|
|
|
|
06-15-2011, 05:03 AM
|
#4
|
|
Member
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82
Rep:
|
To which subnet your computer (physically) connected to, 10.4.123 or 10.4.122
|
|
|
|
06-15-2011, 11:42 PM
|
#5
|
|
Member
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 214
Original Poster
Rep:
|
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
|
|
|
|
06-16-2011, 12:17 AM
|
#6
|
|
Member
Registered: Sep 2009
Posts: 673
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:16 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|