Skip to content

Instantly share code, notes, and snippets.

@caingougou
Created March 19, 2012 03:21
Show Gist options
  • Select an option

  • Save caingougou/2092848 to your computer and use it in GitHub Desktop.

Select an option

Save caingougou/2092848 to your computer and use it in GitHub Desktop.
Network settings
ifconfig eth0 192.168.1.2
netmask 255.255.255.0
//设置IP地址192.168.1.2 子网掩码:255.255.255.0
routeadd default gw 192.168.1.1
//设置网关为192.168.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment