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

Re: router



Look in the file /etc/sysconfig/network

Hope that helps

Bob


----- Original Message -----
From: "Assaf Spanier" <spanier cs huji ac il>
To: <Redhat-install-list redhat com>
Cc: <apuye frontier net>
Sent: Wednesday, July 25, 2001 9:37 AM
Subject: 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
>     >>
>     >>
>     >>
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list





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