How to add IP address on Centos?
Can some one tell me how to add IP address on Linux Centos?
Thanks. |
Are you looking to add a virtual interface to an existing or additional nic card or are you looking to get your network setup initially?
|
There are couple of methods for assigning IP address
for newbies you should try #system-config-network (On GUI) OR #system-config-network-tui (ON CLI) |
Quote:
By default it takes the IP from the ISP's DHCPas soon as you are connected to a network. if you want to assign an IP manually: #system-config-network firing this from command line will give you a GUI interface. OR Code:
vi /etc/sysconfig/network-scripts/ifcfg-eth0 restart the network service. |
Linux Laptop connectivity with Cisco Layer 3 switch
I have built two laptop with CentOS and I have configured ip addres and gateway as well.
I have cisco layer 3 switch which I am using as gateway. But when I ping laptop to cisco switch or laptop to laptop I got an error "Host is unreachable". Please advise. thanks. |
Linux Laptop connectivity with Cisco Layer 3 switch
I have built two laptop with CentOS and I have configured ip addres and gateway as well. I have cisco layer 3 switch which I am using as gateway. But when I ping laptop to cisco switch or laptop to laptop I got an error "Host is unreachable". Please advise. thanks. |
Quote:
GATEWAY=X.X.X.X |
All times are GMT -5. The time now is 01:36 AM. |