Adding gateway and Ip route in Suse linux via terminal

Hi All,

I have set my IP to static in /etc/sysconfig/network/ifcfg-eth0
Gateway also set in the same file.

Only I add route add default gateway 192.168.10.1 eth0 then I get access to the server via ssh

Now how do I make this permanent. when I reboot I cannot ping my server from another LAN

Please help
couldn't find anything how to make ip route add default gateway permanent

Comments

  • malcolmlewismalcolmlewis Knowledge Partner

    @Thaddeus Hi, you can use YaST in a terminal as root user run the command yast lan and will give all the options to setup wicked for your network interface on the various tabs. No need to manually edit any files ;)

Sign In or Register to comment.