This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

eth0 loosing its IP-Adress

Problem:
Console tells me every 30 sec, that there is no IP-Adress on eth0. Some seconds later it comes back. During that time I cannot connect the Firewall. This happens only when the WAN-Interface is "up".  [:S]  

Configuration:
Vers. 3.202 
eth0 : 3C905 C-TX (LAN)
eth1 : 3C905 (TDSL-WAN)

Kernel Log:
Jul 29 13:30:20 fire kernel: klogd 1.3-3, log source = /proc/kmsg started.
Jul 29 13:30:20 fire kernel: Cannot open map file: /System.map.
Jul 29 13:30:20 fire kernel: Loaded 514 symbols from 40 modules.
Jul 29 13:30:20 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=43529 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=7433 
Jul 29 13:30:20 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=43785 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=7689 
Jul 29 13:30:20 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=44041 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=7945 
Jul 29 13:30:20 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=44297 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=8201 
Jul 29 13:30:20 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=44553 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=8457 
Jul 29 13:30:20 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=44809 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=8713 
Jul 29 13:30:20 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=45065 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=8969 
Jul 29 13:30:21 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=45321 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=9225 
Jul 29 13:30:22 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=45577 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=9481 
Jul 29 13:30:23 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=45833 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=9737 
Jul 29 13:30:24 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=46089 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=9993 
Jul 29 13:30:25 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=46345 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=10249 
Jul 29 13:30:26 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=46601 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=10505 
Jul 29 13:30:27 fire kernel: UDP Drop: IN= OUT=eth0 SRC=172.16.10.106 DST=128.8.10.90 LEN=45 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=1040 DPT=53 LEN=25 
Jul 29 13:30:27 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=46857 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=10761 
Jul 29 13:30:28 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=47113 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=11017 
Jul 29 13:30:29 fire kernel: ICMP Drop: IN=eth0 OUT= MAC=00:04:76:e8:c9:ac:00:80:c8:87:b6:f0:08:00 SRC=172.16.10.16 DST=172.16.10.106 LEN=60 TOS=0x00 PREC=0x00 TTL=32 ID=47369 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=11273 
Jul 29 13:30:30 fire kernel: ICMP Drop: IN= OUT=eth0 SRC=172.16.10.106 DST=172.16.10.16 LEN=60 TOS=0x00 PREC=0x00 TTL=255 ID=60089 PROTO=ICMP TYPE=0 CODE=0 ID=512 SEQ=11529 
Jul 29 13:30:40 fire kernel: Kernel logging (proc) stopped.
Jul 29 13:30:40 fire kernel: Kernel log daemon terminating.

Please HELP !


This thread was automatically locked due to age.
Parents
  • Ja, I stumbled over the same problem, when I installed asl 3.2020 (?) on saturday. But for me it happened right after install, the T-DSL-links wasn't configured at that time.. My first thought was, that asl doesn't like my nics (1x intel EEPro PCI, 1x intel EEPro onboard). Didn't know how to solve it, so I installed OpenBSD again from scratch. Reboot didn't helped either.
    Today I installed it on a 'spare'-pc, with only one EEpro-nic.. no problems with disapearing ip-addres on eth0..

    Hardware:
    FuSi D1219-board
    celeron 700MHz CPU
    Samsung SV2042H HDD
    nics:
    fxp0 at pci1 dev 7 function 0 "Intel 82557" rev 0x08: irq 9, address 00:02:b3:20:02:8c
    inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
    fxp1 at pci1 dev 8 function 0 "Intel 82562" rev 0x01: irq 11, address 00:30:05:07:fe:a7
    inphy1 at fxp1 phy 1: i82562EM 10/100 media interface, rev. 0

    any ideas? ;-)
  • to  whom it concerns:
    delete all entries in the "QoS"-Section of the DSL-Interface, that's all !
  • I am having the same problem and neither of the NIC's are using QOS. As soon as I configure the second card, eth0 goes down and doesn't come back. It doesn't matter which card I use for eth0 or eth1, same problem. One card is an SMC and the other is a 3Com.
Reply
  • I am having the same problem and neither of the NIC's are using QOS. As soon as I configure the second card, eth0 goes down and doesn't come back. It doesn't matter which card I use for eth0 or eth1, same problem. One card is an SMC and the other is a 3Com.
Children
  • Been playing with this trying to get somewhere, and at one point was ready to throw it all out the window.      Here is a rundown on what I have: 

    I have basically two networks setup, I'll call them "network 1" and "network 2". 

    "Network 1" consists of two w2k machines and a win98 machine. This network is plugged into a netgear router/hub that plugged into a cable modem. The netgear router/hub is providing dhcp to "network 1". 

    The gateway address for "network 1" is 192.168.1.1 and the dhcp scope is 192.168.1.50 through .254.

    "Network 2" consists of the Astaro box and a w2k workstation. The astaro box has two cards in it,  an SMC and a 3Com. 
    One card (ip 172.16.1.9)is plugged into the netgear router/hub for internet access. 

    The other nic is plugged into a completely separate hub. 

    The ip address of the second nic is 172.16.1.10. I have the w2k workstation (ip 172.16.1.5) plugged into the separate hub also. there are no other network connections. 

    When I configure the second card (external) the internal card goes away. can't ping, can't run web admin, etc.   [:S]  

    Here is the error message:

    IP-SPOOFING  Drop:  IN=eth0  OUT=  MAC=00:e0:29:43:42:63:00:10:60:5b:af:f8:08:00
    SRC=172.16.1.5 DST=172.16.1.10 LEN=48 TOS=0x00
    PREC=0x00 TTL=128 ID=17731 DF PROTO=TCP SPT=2049
    DPT=443 WINDOW=16384 RES=0X00 SYN URGP=0

    I have read other posts here on IP-SPOOFING issue but I can't seem to make heads or tails of this. any help would be appreciated.
  • I seem to be having a very similar problem, if not the same problem...  please help   [:S]
  • hello to all in this Post

    I think you have a Subnetting problem.
    You can not give both ASL NIC an IP-Address of the same subnet. You MUST separate the Subnets.

    to bobatbluwire:

    I don't understand why you connect physicaly your network in this way. Put in a third NIC in your ASL-Box.
    1st Network on eth0: 192.168.1.0/255.255.255.0 with your three PC's currently connected to your Router/Hub.
    2cond Network on eth1: your CableModem with DHCP-Client enabled on eth1.
    3rd Network on eth2: 172.16.1.0/255.255.255.0 with your w2k pc.

    to Janea:
    have you probably connected all your ASL NIC's (Network cards) to the same Hub/Switch? If yes this is your Problem...

    For details regarding IP-Subnetworking read the following link:
    http://asl.cnsd.ch/Files/IP-Subnetworking-HOWTO.txt

    hope you understand what I'm trying to explain...

    cheers
    eldorado
  • yep, that was the problem. I was connecting both nics to the same subnet. I changed the external one to 192.168.1.10 and it's working fine. Thanks