Remove the unspecified gateway from linux routing table

Eugène Ngontang sympavali at gmail.com
Wed Feb 18 19:06:14 UTC 2015


Ok Bill,

I guess too and I will check.

Regards,
Eugène NG
Le 18 févr. 2015 18:21, "Bill Shirley" <Bill at henagar.polymerindustries.biz>
a écrit :

>  I would also look at your config file for that interface.  It may be
> named different than mine but (Fedora 21):
> [0:root at apinetstore2 shorewall 130]$ cat
> /etc/sysconfig/network-scripts/ifcfg-eno1
> TYPE="Ethernet"
> BOOTPROTO="dhcp"
> DEFROUTE="yes"
> IPV4_FAILURE_FATAL="no"
> IPV6INIT="yes"
> IPV6_AUTOCONF="yes"
> IPV6_DEFROUTE="yes"
> IPV6_FAILURE_FATAL="no"
> NAME="eno1"
> UUID="7926b404-1226-49c2-83b8-3a70b8db072d"
> ONBOOT="yes"
> HWADDR="10:C3:7B:4D:9A:DE"
> PEERDNS="no"
> PEERROUTES="yes"
> IPV6_PEERDNS="no"
> IPV6_PEERROUTES="yes"
>
> If the "DEFROUTE" and "PEERROUTES" are not "yes", I think it could be
> creating this problem.
>
> HTH,
> Bill
>
> On 2/18/2015 9:56 AM, Eugène Ngontang wrote:
>
> Hi guys,
>
>  Thanks for your answer. I'll check all the ways you recommended to me.
>
>  Regards,
> Eugène NG
>
> 2015-02-17 22:13 GMT+01:00 Alex Bligh <alex at alex.org.uk>:
>
>>
>> On 17 Feb 2015, at 10:43, Eugène Ngontang <sympavali at gmail.com> wrote:
>>
>> >     [root at hostname]# route -n
>>
>> Nothing to do with dhcpd, but in debugging weird Linux route config
>> problems,
>> I strongly recommend you to use the "ip route" command (rather than the
>> "route" command) if your distro supports it. You get shown (and can
>> manipulate)
>> all sorts of stuff the legacy interface does not provide.
>>
>> Are you doing anything strange like pxebooting these hosts? If so, it's
>> possible
>> to gpxeboot to add the default route to the command line (check
>>    cat /proc/cmdline
>> to see if it's there), which some distros then stick in the routing table,
>> in turn causing some DHCP issues.
>>
>> Further, I suggest you check the obvious (i.e. no other interface stanzas
>> have
>> a static default route with gateway 0.0.0.0), and that you aren't running
>> dhcp
>> on anything you don't mean to be running dhcp on (i.e. aren't getting dhcp
>> from any other interfaces).
>>
>> --
>> Alex Bligh
>>
>>
>>
>>
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>
>
>
>  --
> ngonta_e at epitech.net
> sympavali at gmail.com
> ------------------------------------------------------------
> *Aux hommes il faut un chef, et au*
>
> * chef il faut des hommes! L'habit ne fait pas le moine, mais lorsqu'on te
> voit on te juge! *
>
>
> _______________________________________________
> dhcp-users mailing listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users
>
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150218/552de744/attachment-0001.html>


More information about the dhcp-users mailing list