server:linux_network_commands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| server:linux_network_commands [2012/12/02 23:10] – ashley | server:linux_network_commands [2015/11/01 11:19] (current) – ashley | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Assign IP: ifconfig eth0 192.168.1.2 | Assign IP: ifconfig eth0 192.168.1.2 | ||
| - | Change to dhcp: | + | ===== Change to dhcp: ===== |
| vi / | vi / | ||
| Line 15: | Line 16: | ||
| HWADDR=00: | HWADDR=00: | ||
| ONBOOT=yes | ONBOOT=yes | ||
| + | |||
| + | ===== set to static ===== | ||
| + | DEVICE=" | ||
| + | BOOTPROTO=" | ||
| + | HWADDR=" | ||
| + | IPADDR=192.168.2.9 | ||
| + | NETMASK=255.255.255.0 | ||
| + | GATEWAY=192.168.2.1 | ||
| + | ONBOOT=" | ||
| Save and close the file. Just restart network service: | Save and close the file. Just restart network service: | ||
| Line 66: | Line 76: | ||
| + | =====Check Linux Install===== | ||
| + | cat / | ||
server/linux_network_commands.1354489855.txt.gz · Last modified: (external edit)
