change_ip_address_cmd_line
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
change_ip_address_cmd_line [2017/02/28 13:15] – [Introduction] walkeradmin | change_ip_address_cmd_line [2017/02/28 13:17] – [Introduction] walkeradmin | ||
---|---|---|---|
Line 28: | Line 28: | ||
\\ | \\ | ||
\\ | \\ | ||
- | + | To assign a Gateway, we can use IP Route. | |
+ | \\ | ||
+ | ip route add default via address | ||
+ | \\ | ||
+ | \\ | ||
+ | So to add 192.168.27.254 as the default gateway, use the following: | ||
+ | \\ | ||
+ | ip route add default via 192.168.27.254 | ||
+ | \\ | ||
+ | \\ | ||
+ | Remember if you reboot these details will be lost. | ||
+ | \\ | ||
+ | \\ |
change_ip_address_cmd_line.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1