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

RE: router



hi Alex,

Thanks for you answer,

> What does /etc/sysconfig/network-scripts/ifcfg-eth0 look like? 
I added it:
-----------------------------------------
DEVICE=eth0
BOOTPROTO=static
IPADDR=<IP address>
NETMASK=255.255.0.0
ONBOOT=yes

-----------------------------------------

What that I like to know that when I type "/etc/init.d/network start"
which scrip is actually adding the router.
 


    >>-----Original Message-----
    >>From: redhat-install-list-admin redhat com
    >>[mailto:redhat-install-list-admin redhat com]On Behalf Of Assaf Spanier
    >>Sent: Tuesday, July 24, 2001 6:55 AM
    >>To: Redhat-install-list redhat com
    >>Subject: router
    >>
    >>
    >>hi all,
    >>
    >>I have some problem with config of my router:
    >>I added the line: "GATEWAY=<IP addres>" 
    >>to "/etc/sysconfig/network" file.
    >>
    >>but after I restart my network: "/etc/init.d/network restart"
    >>
    >>there is no router in the list:
    >>$>  route
    >>Kernel IP routing table
    >>Destination     Gateway         Genmask         Flags Metric Ref  
    >>  Use Iface
    >>129.6.0.0      *               255.255.0.0     U     0      0     
    >>   0 eth0
    >>127.0.0.0       *              255.0.0.0        U     0      0    
    >>    0  lo
    >>
    >>I can add the router by typing:
    >>$> route add gw <IP address>
    >>
    >>Does anyone know why I cann't success to add the router via 
    >>"/etc/sysconfig/network" file.
    >>
    >>thanks,
    >>A.Spanier
    >>
    >>
    >>





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