Interfaces going down and up with packet loss



  • Hello.
    I have a problem with my pfS installation.
    I got 3 NIC's assigned and the problem is that the WAN NIC is getting packet loss and probably apinger is restarting both WAN and LAN NIC's.
    I really dont know where to start because it worked for 24h after installation, then i had to to make some cable management and after reboot the problem started.
    Wan connects to the ISP cable modem(bridged). It works fine when i plug it directly into PC so i think the modem hardware is good.
    I tried to disable gateway monitoring and apinger. Nothing helps.

    There's a log below. Look at the timestamp. It goes down about 20s after it gets up. And it loops forever.

    
    Oct 26 02:04:58	php: rc.newwanip: ROUTING: setting default route to 10.7.136.1
    Oct 26 02:04:59	php: rc.newwanip: rc.newwanip: Informational is starting re0.
    Oct 26 02:04:59	php: rc.newwanip: rc.newwanip: on (IP address: 192.168.1.1) (interface: LAN[lan]) (real interface: re0).
    Oct 26 02:05:00	check_reload_status: updating dyndns wan
    Oct 26 02:05:03	php: rc.newwanip: Resyncing OpenVPN instances for interface WAN.
    Oct 26 02:05:03	php: rc.newwanip: Creating rrd update script
    Oct 26 02:05:05	php: rc.newwanip: pfSense package system has detected an ip change 10.7.136.160 -> 10.7.136.160 ... Restarting packages.
    Oct 26 02:05:05	check_reload_status: Starting packages
    Oct 26 02:05:08	php: rc.start_packages: Restarting/Starting all packages.
    Oct 26 02:05:08	check_reload_status: Linkup starting re0
    Oct 26 02:05:08	kernel: re0: link state changed to DOWN
    Oct 26 02:05:08	check_reload_status: Linkup starting re1
    Oct 26 02:05:08	kernel: re1: link state changed to DOWN
    Oct 26 02:05:10	php: rc.linkup: DEVD Ethernet detached event for wan
    Oct 26 02:05:10	php: rc.linkup: Hotplug event detected for LAN(lan) but ignoring since interface is configured with static IP (192.168.1.1 )
    Oct 26 02:05:11	check_reload_status: Linkup starting re1
    Oct 26 02:05:11	kernel: re1: link state changed to UP
    Oct 26 02:05:11	php: rc.linkup: Clearing states to old gateway 10.7.136.1.
    Oct 26 02:05:12	kernel: arpresolve: can't allocate llinfo for 10.7.136.1
    Oct 26 02:05:12	check_reload_status: Linkup starting re0
    Oct 26 02:05:12	kernel: re0: link state changed to UP
    Oct 26 02:05:12	kernel: arpresolve: can't allocate llinfo for 10.7.136.1
    Oct 26 02:05:13	php: rc.linkup: DEVD Ethernet attached event for wan
    Oct 26 02:05:13	php: rc.linkup: HOTPLUG: Configuring interface wan
    Oct 26 02:05:13	check_reload_status: rc.newwanip starting re1
    Oct 26 02:05:13	php: rc.linkup: ROUTING: setting default route to 10.7.136.1
    Oct 26 02:05:14	php: rc.linkup: Hotplug event detected for LAN(lan) but ignoring since interface is configured with static IP (192.168.1.1 )
    Oct 26 02:05:14	check_reload_status: rc.newwanip starting re0
    Oct 26 02:05:15	php: rc.newwanip: rc.newwanip: Informational is starting re1.
    Oct 26 02:05:15	php: rc.newwanip: rc.newwanip: on (IP address: 10.7.136.160) (interface: WAN[wan]) (real interface: re1).
    Oct 26 02:05:15	php: rc.newwanip: ROUTING: setting default route to 10.7.136.1
    Oct 26 02:05:16	php: rc.newwanip: rc.newwanip: Informational is starting re0.
    Oct 26 02:05:16	php: rc.newwanip: rc.newwanip: on (IP address: 192.168.1.1) (interface: LAN[lan]) (real interface: re0).
    Oct 26 02:05:18	check_reload_status: updating dyndns wan
    Oct 26 02:05:21	php: rc.newwanip: Resyncing OpenVPN instances for interface WAN.
    Oct 26 02:05:21	php: rc.newwanip: Creating rrd update script
    Oct 26 02:05:23	php: rc.newwanip: pfSense package system has detected an ip change 10.7.136.160 -> 10.7.136.160 ... Restarting packages.
    Oct 26 02:05:23	check_reload_status: Starting packages
    Oct 26 02:05:25	php: rc.start_packages: Restarting/Starting all packages.
    Oct 26 02:05:25	check_reload_status: Linkup starting re0
    Oct 26 02:05:25	kernel: re0: link state changed to DOWN
    Oct 26 02:05:25	kernel: re1: link state changed to DOWN
    Oct 26 02:05:25	check_reload_status: Linkup starting re1
    Oct 26 02:05:27	php: rc.linkup: DEVD Ethernet detached event for wan
    Oct 26 02:05:27	php: rc.linkup: Hotplug event detected for LAN(lan) but ignoring since interface is configured with static IP (192.168.1.1 )
    Oct 26 02:05:28	check_reload_status: Linkup starting re0
    Oct 26 02:05:28	kernel: re0: link state changed to UP
    Oct 26 02:05:28	check_reload_status: Linkup starting re1
    Oct 26 02:05:28	kernel: re1: link state changed to UP
    Oct 26 02:05:28	php: rc.linkup: Clearing states to old gateway 10.7.136.1.
    
    

    Please help.
    Greetings.



  • What happens if you reboot the box?



  • After reboot everything works for about 20 second and gateway status shows about 40% packet loss on wan interface. And after that the restarts happens.

    The funny thing is i have second wan connected to dsl router and this one works fine all the time. Only the first wan causes problem. When I disconnect the cable of wan1(tried different ones) everything works fine.



  • could be faulty wiring. check the cabling.



  • Done that already with 3 different patchcables. Didn't help.



  • loose NIC ?

    try swapping the WAN NIC and see what happens.



  • What version of pfSense are you using?