Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Default gateway -linux

sk@sk:~$ ip route show
default via 192.168.1.1 dev eth1  proto static 
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.100  metric 1
Comment

see default gateway linux

ip route
# first line is your default gateway, next lines are your other routes
Comment

linux change default gateway

ip route add default gw {IP-ADDRESS} {INTERFACE-NAME}
Comment

PREVIOUS NEXT
Code Example
Shell :: fsl reg 
Shell :: binding a mac to AD terminal 
Shell :: print unique lines 
Shell :: list files on hadoop file system 
Shell :: remove user from sudoers 
Shell :: brightness function not working problem in kali linux 
Shell :: xrandr 
Shell :: run cron once a week 
Shell :: release a port in mac 
Shell :: how to upgrade packages in yarn 
Shell :: how to install deb package on manjaro 
Shell :: windows 10 openssh server install failed 
Shell :: wondershaper 
Shell :: too many authentication failures ec2 
Shell :: how to remove nvm 
Shell :: reload bash 
Shell :: npm list all installed packages 
Shell :: nvm install latest node and keep global packages 
Shell :: install chrome in ubuntu 16.04 using terminal 
Shell :: ping list of ip addresses powershell 
Shell :: bash concatenate gzipped files 
Shell :: kube delete cronjob 
Shell :: Clear heroku redis cache 
Shell :: ettercap sniffing 
Shell :: zsh: command not found: valet 
Shell :: git command line see log 
Shell :: ssl security check ats 
Shell :: is not in the sudoers file 
Shell :: heroku bash 
Shell :: revert vs reset vs restore 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =