daily pastebin goal
44%
SHARE
TWEET

junk - ifconfig

Mayur_Pipaliya Apr 23rd, 2013 34 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top