SHARE
TWEET

junk - ifconfig

Mayur_Pipaliya Apr 23rd, 2013 33 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo ifconfig eth0 192.168.1.123 netmask 255.255.255.0 broadcast 192.168.1.255
  2. sudo ifconfig eth0 up
  3. sudo service network restart; sudo service networking restart
  4. sudo route add default gw 192.168.1.1 eth0
  5.  
  6.  
  7. sudo ifconfig -a | grep Bcast; sudo route -n
  8. ping 192.168.1.1
  9. ping 8.8.8.8
RAW Paste Data
Top