Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> dhcpd segmetation fail on vlan interface
gring
 Posted: Oct 1 2011, 05:50 AM
Quote Post


SLF Newbie


Group: Members
Posts: 1
Member No.: 890
Joined: 1-October 11









Hi all.

Sorry of my English.

I have problem after reboot my SL 6.1

Linux server.localdomain 2.6.32-131.12.1.el6.x86_64 #1 SMP Tue Aug 23 11:13:45 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux

dhcpd not run

my configuration is very simple

CODE
cat /etc/dhcp/dhcpd.conf
ddns-update-style interim;
subnet 192.168.254.0 netmask 255.255.255.0 {
       range 192.168.254.20 192.168.254.50;
       default-lease-time 600;
       option subnet-mask 255.255.255.0;
       option broadcast-address 192.168.254.255;
       option routers 192.168.254.254;
       option domain-name-servers 8.8.8.8, 217.15.134.65, 217.15.135.68;
       option domain-name "server.localdomain";
       }

cat /var/log/message

CODE
Oct  1 09:45:42 server dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Oct  1 09:45:42 server dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Oct  1 09:45:42 server dhcpd: All rights reserved.
Oct  1 09:45:42 server dhcpd: For info, please visit Oct  1 09:45:42 server dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Oct  1 09:45:42 server dhcpd: Wrote 0 leases to leases file.
Oct  1 09:45:42 server kernel: dhcpd[3335]: segfault at 0 ip 00007f7496397020 sp 00007fffd2b52ff0 error 4 in dhcpd[7f7496335000+c2000]





ifconfig
CODE

eth0      Link encap:Ethernet  HWaddr 48:5B:39:94:12:CD
         inet6 addr: fe80::4a5b:39ff:fe94:12cd/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:37572 errors:0 dropped:0 overruns:0 frame:0
         TX packets:36521 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:21054565 (20.0 MiB)  TX bytes:21034042 (20.0 MiB)
         Interrupt:25 Base address:0xe000

eth0.2    Link encap:Ethernet  HWaddr 48:5B:39:94:12:CD
         inet addr:192.168.254.254  Bcast:192.168.254.255  Mask:255.255.255.0
         inet6 addr: fe80::4a5b:39ff:fe94:12cd/64 Scope:Link
         UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
         RX packets:10245 errors:0 dropped:0 overruns:0 frame:0
         TX packets:11024 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:1271813 (1.2 MiB)  TX bytes:7546484 (7.1 MiB)

eth0.2:5  Link encap:Ethernet  HWaddr 48:5B:39:94:12:CD
         inet addr:192.168.151.254  Bcast:192.168.151.255  Mask:255.255.255.0
         UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1

eth0.3    Link encap:Ethernet  HWaddr 48:5B:39:94:12:CD
         inet addr:192.168.253.250  Bcast:192.168.253.255  Mask:255.255.255.0
         inet6 addr: fe80::4a5b:39ff:fe94:12cd/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:170 errors:0 dropped:0 overruns:0 frame:0
         TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:8933 (8.7 KiB)  TX bytes:1224 (1.1 KiB)

eth0.4    Link encap:Ethernet  HWaddr 48:5B:39:94:12:CD
         inet addr:192.168.211.254  Bcast:192.168.211.254  Mask:255.255.255.0
         inet6 addr: fe80::4a5b:39ff:fe94:12cd/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:0 (0.0 B)  TX bytes:468 (468.0 B)

eth0.5    Link encap:Ethernet  HWaddr 48:5B:39:94:12:CD
         inet addr:10.13.75.151  Bcast:10.13.79.255  Mask:255.255.240.0
         inet6 addr: fe80::4a5b:39ff:fe94:12cd/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:0 (0.0 B)  TX bytes:468 (468.0 B)

eth0.6    Link encap:Ethernet  HWaddr 48:5B:39:94:12:CD
         inet6 addr: fe80::4a5b:39ff:fe94:12cd/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:11374 errors:0 dropped:0 overruns:0 frame:0
         TX packets:10493 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:7372091 (7.0 MiB)  TX bytes:1491668 (1.4 MiB)

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:56 errors:0 dropped:0 overruns:0 frame:0
         TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:4024 (3.9 KiB)  TX bytes:4024 (3.9 KiB)

ppp0      Link encap:Point-to-Point Protocol
         inet addr:xxx.xxx.xxx.xxx  P-t-P:yy.yyy.yyy.yyy  Mask:255.255.255.255
         UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
         RX packets:11104 errors:0 dropped:0 overruns:0 frame:0
         TX packets:10289 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:3
         RX bytes:7270061 (6.9 MiB)  TX bytes:1258326 (1.2 MiB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
         inet addr:192.168.131.1  P-t-P:192.168.131.2  Mask:255.255.255.255
         UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)







This is problem only on vlan interface eth0.2 ( vlan 802.1q)
if you run on a physical interface eth0 that will be all right

After reinstalling dhcpd problem persists

Help me please !
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll