Wednesday, May 4, 2011

Setting up your own ip address for the interface card

You can use set any ip-address for your IP-address
ifconfig  interface IP-address netmask 255.255.255.0 broadcast 192.168.10.255

ifconfig eth2 192.168.10.12 netmask 255.255.255.0 broadcast 192.168.10.255


For bringing up interface use
ifconfig eth2 up

For bringing down the interface use
ifconfig eth2 down




No comments:

Post a Comment