User Tools

Site Tools


change_ip_address_cmd_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
change_ip_address_cmd_line [2017/02/28 13:15] – [Introduction] walkeradminchange_ip_address_cmd_line [2023/03/09 22:35] (current) – external edit 127.0.0.1
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.1488287742.txt.gz · Last modified: 2023/03/09 22:35 (external edit)