How do I find my default gateway Linux?
Answer
Debian / Ubuntu
Linux Setting a
Default Gateway
Answer
Debian / Ubuntu
Linux Setting a
Default Gateway
- ip command to set a
default router to 192.168.1.254. Login as the root and type: … - route command to set a
default router to 192.168.1.254. Login as the root and type: … - Save routing information to a configuration file /etc/network/interfaces. Open /etc/network/interfaces file.