Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.