Re: What/where is default route set?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Craig White wrote:
On Fri, 2008-02-29 at 22:46 +0000, Chris G wrote:
  
Another minor hiccough after my move from F7 to F8, I don't get a
network default route set when I reboot the system.

I.e. I have to do:-

    route add default gw 192.168.1.1

after booting to get everything to work.

Whereabouts in the initialisation scripts should this be set and/or is
there a GUI for setting it up?
    
----
system-config-network

Craig

  
Or you can edit by hand.  In the example below, my primary interface is eth1.  See the setting for 'GATEWAY'?  Not shown in my example is that you can add additional routes (similar to Solaris /etc/gateways) in /etc/.sysconfig/static-routes.  Look at /etc/init.d/network if you want to peep under the hood...

Steve

---
[root@imladris MyTV]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
DEVICE=eth1
> HWADDR=00:18:4d:f0:0e:b7
BROADCAST=192.168.1.255
IPADDR=192.168.1.20
NETMASK=255.255.255.0
NETWORK=192.168.1.0
GATEWAY=192.168.1.1
TYPE=Ethernet
[root@imladris MyTV]#

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux