Linux Network Configuration

# system-config-network # redhat-config-network # vi /etc/resolve.conf # vi /etc/hosts # /sbin/ifconfig eth0 192.168.10.120 netmask 255.255.255.0 broadcast 192.168.10.255 # /etc/init.d/network restart ifup – bring a network interface up ifdown – take a network interface down

No route to host

Often, when we get error “No route to host” to connect remote server via linux command line e.g. wget, curl etc. or web services (webserviceserver). The first solution we want to try to troubleshot firewalls and proxies? But before that try hostname entry in linux box… # vi /etc/hosts add & save 192.168.0.100 webserviceserver If … Read more