[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: router
- From: "Alex Puye" <apuye frontier net>
- To: <redhat-install-list redhat com>
- Subject: RE: router
- Date: Wed, 25 Jul 2001 08:27:11 -0600
The reason why I ask that question is because if the IP address and default
gateway are not in the same network (subnet), the default gateway wouldn't
come up, which makes sense.
So, double-check your numbers very carefully.
Can you ping the interface on the router from the Linux box?
>>-----Original Message-----
>>From: redhat-install-list-admin redhat com
>>[mailto:redhat-install-list-admin redhat com]On Behalf Of Assaf Spanier
>>Sent: Wednesday, July 25, 2001 7:37 AM
>>To: Redhat-install-list redhat com
>>Cc: apuye frontier net
>>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]