it has been working fine for a couple months but recently, all my static configurations stopped working and now everything is DHCP, which would be fine but for some reason my default gateway is wrong.
i checked my /etc/sysconfig/routes and its set to 192.168.254 --.
i even tried changing it to included the interface. found that from some site. but unable to resolve issue.
im at my wits end. i did notice when i use yast vs editing config files->yast will overwrite everything even if do not change anything.
From your description, you’re using ‘traditional ifup’ rather than NetworkManager controlled NIC. You should have been able to configure the appropriate interface with YaST, (including assigning the default gateway). Even without explicitly assigning it, you should be able to ping it, assuming you’ve assigned a static IP applicable to the local subnet.
Anyway, the configuration is stored in ‘/etc/sysconfig/network/ifcg-<name of your network interface>’ (eg I have /etc/sysconfig/network/ifcfg-ens1), so you should be able to confirm settings there too.
I was able to get everything working. re-configured for static ip hopefully it sticks for awhile. i will read the article that was posted. thanks everyone for your help…not to mad about Opensuse.