ping the Class C network with Class B IP

India
August 11, 2009 8:14pm CST
Yes we can ping the class C network with an Class B IP ,the only thing we need is to create an alias eth0:0 with the address of class C. Go to terminal and fire the command : vim /etc/sysconfig/network-scripts/ cp ifcfg-eth0 ifcfg eth0:0 vim ifcfg eth0:0 now fill in the required details like device : eth0:0, HWADDR will be same,NETMASK 255.255.255.0 IPADDR 192.168.0.2 Following command can be used on linux to do the same.But the effect will last only upto the time "service network restart" is not fired or reboot is done. "ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0 up" Do you know any other way for this purpose ?
No responses