|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Network/Internet Questions regarding network or Internet configuration and use in SUSE Linux |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Folks;
How can i change the destination & Genmask in SUSE (please see below) (I couldn't find Yast and i tried to find "route.conf" file but i couldn't find it any where) Here's the route command results: Destination Gateway Genmask Flags Metric Ref Use Iface 14.104.1.0 * 255.255.255.0 U 0 0 0 eth0 192.168.157.0 * 255.255.255.0 U 0 0 0 eth1 link-local * 255.255.0.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo 14.0.0.0 14.104.1.254 255.0.0.0 UG 0 0 0 eth0 default 192.168.157.1 0.0.0.0 UG 0 0 0 eth1 I'm trying to change the destination & Genmask in the second line "eth1" to be 192.168.156.0 & 255.255.255.254 Any help on how to do that using the command line would be greatly appreciated |
|
|||
|
It's in the config for the device. You can do it with YaST or edit /etc/sysconfig/network/ifcfg-eth1. It's an implied route that why you won't find it in the route file.
|
|
|||
|
I did try to do that but i couldn't get it to work, i think i'm writing the command to make the changes wrong.
Also; after editing /etc/sysconfig/network/ifcfg-eth1 file, what service or daemon do i need to restart so my changes take affect? Here's my existing /etc/sysconfig/network/ifcfg-eth1 file & i don't see Destination or Genmask BOOTPROTO='static' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='192.168.157.101' MTU='' NAME='' NETMASK='255.255.255.0' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' USERCONTROL='no' |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|