Tag Archives: IP Address

Home »  Tag: IP Address

to quickly create a Network bondign on eth0 and eth1 on CentOS and RedHat do the following: cd /etc/sysconfig/network-scripts vi ifcfg-eth1        # fill the following DEVICE=eth1 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none vi ifcfg-eth0     # fill the following DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none vi ifcfg-bond0 DEVICE=bond0 IPADDR=192.168.1.100 NETWORK=192.168.1.0 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 DNS1=192.168.1.1 DNS2=192.168.1.2 USERCTL=no BOOTPROTO=none ONBOOT=yes (replace the above IP addresses with your network details.) reboot Related posts: Linux: Howto show the Servers IP address at the login console RedHat 6.x/CentOS 6.x: Rename RHN Satellite (Spacewalk) Server Centos 6.x: How to install Spacewalk Overview of the Support Lifecycle for a few selected Enterprise Linux Distributions Linux / VMware: Howto Increase a / (Root) LVM partition on a single vmdk without adding another partition RedHat 6.x/ Centos 6.x: How to install in OwnCloud 4.5.1 (5.x) in less than 10 minutes

In relation to rename a server which was acting as a Satellite server. Howto change the Hostname of a RHN Satellite server (Spacewalk Server) 1) you need to change the server to the new IP adress / hostname. I advise to do this in single user mode from the currently running state. Note: Don’t use UPPERCASE in the hostname. Satellite doesn’t like that !!! telinit 1 hostname NEW_HOSTNAME vi /etc/sysconfig/network #change to the new hostname If you need to change the IP Adress then do so here now. vi /etc/sysconfig/network-scripts/ifcfg.[interface] restart networking service network restart  2) DO NOT REBOOT continue here …. spacewalk-hostname-rename CURRENT(NEW_OR_OLD)_IPADRESS Follow the instruction on the screen to reset the hostname. It will do the rest for you Related posts: RedHat 6.x/CentOS 6.x: Rename or change the hostname temporarily or permanently RedHat / RHN Satellite: usefull commands Centos 6.x: How to install Spacewalk Linux: Howto show the Servers IP address at the login console CentOS / […]

%d bloggers like this: