OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of skool »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - skool

Pages: [1]
1
23.1 Legacy Series / l2tp over dhcp didnt send renew packets correctly
« on: July 09, 2023, 10:04:13 pm »
Hello,

I've a WAN connection using DHCP to my main ISP (Orange FR) through a VLAN interface, that works correctly.

Over this connection, I'm using a L2TP point-to-point connection to a non-profit ISP, and all my IPv4/IPv6 web trafic is routed into the L2TP connection.

But every 24h, when the main DHCP lease expires, I lost the main WAN link, that breaks the whole internet access.

I started a packet capture on all the wan interfaces (physical, vlan, l2tp) for all dhcp packets (udp port 67) during the renew, and I see only the packet on the vlan interface, not on the main one

I suppose that something is blocking or modifying the DHCP packets when the L2TP link is up (as it not uses the main gateway).

I started a second packet capture to the next-server seen on /var/db/dhcp.leases file to check if I see somewhere else (answers will be tomorrow)

Is there someone having the same configuration ?
Thanks

2
23.1 Legacy Series / DHCP lease not renewing on Orange FR
« on: April 03, 2023, 07:55:47 pm »
Hello,

Since ~10 days, without doing anything on the router, we are multiple opnsense/pfsense users having the same issue with Orange in France. Every ~24h, our internet connection drops on IPv4/IPv6.
On a IP point of view, on opnsense, all is good (routes, interfaces, etc…) but the gateway dont ping.
We need to manually restart dhclient (by unplug/replug cable, or restarting interface, or …)

I had done it yesterday at 18:40. just after that, my dhcp lease looked like that :
Code: [Select]
lease {
  interface "vlan0.832";
  fixed-address 83.202.25.xx;
  next-server 80.10.234.173;
  option subnet-mask 255.255.248.0;
  option routers 83.202.24.1;
  option domain-name-servers 80.10.246.1,81.253.149.9;
  option host-name "opnsense";
  option broadcast-address 83.202.31.255;
  option dhcp-lease-time 604800;
  option dhcp-message-type 5;
  option dhcp-server-identifier 80.10.234.173;
  option dhcp-renewal-time 84672;
  option dhcp-rebinding-time 483840;
  option dhcp-client-identifier 1:ac:84:c9:xx:xx:xx;
  option option-90 0:0:0:0:0:0:0:0:0:0:0:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;
  option domain-search "MSR.access.orange-multimedia.net.";
  option option-125 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;
  renew 1 2023/4/3 16:34:08;
  rebind 2 2023/4/4 10:12:32;
  expire 0 2023/4/9 17:02:56;
}
lease {
  interface "vlan0.832";
  fixed-address 83.202.25.xx;
  next-server 80.10.234.173;
  option subnet-mask 255.255.248.0;
  option routers 83.202.24.1;
  option domain-name-servers 80.10.246.1,81.253.149.9;
  option host-name "opnsense";
  option broadcast-address 83.202.31.255;
  option dhcp-lease-time 604800;
  option dhcp-message-type 5;
  option dhcp-server-identifier 80.10.234.173;
  option dhcp-renewal-time 84672;
  option dhcp-rebinding-time 483840;
  option dhcp-client-identifier 1:ac:84:c9:xx:xx:xx;
  option option-90 0:0:0:0:0:0:0:0:0:0:0:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;
  option domain-search "MSR.access.orange-multimedia.net.";
  option option-125 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;
  renew 1 2023/4/3 16:34:20;
  rebind 2 2023/4/4 10:12:44;
  expire 0 2023/4/9 17:03:08;
}
(dhcp lease is present twice on the file)

Today, my system.log contained this log lines :
Code: [Select]
<27>1 2023-04-03T18:54:37+02:00 opnsense.local dhclient 77948 - [meta sequenceId="1"] send_packet: No route to host
<27>1 2023-04-03T18:56:29+02:00 opnsense.local dhclient 77948 - [meta sequenceId="1"] send_packet: No route to host
<27>1 2023-04-03T18:56:57+02:00 opnsense.local dhclient 77948 - [meta sequenceId="2"] send_packet: No route to host
<27>1 2023-04-03T18:57:19+02:00 opnsense.local dhclient 77948 - [meta sequenceId="3"] send_packet: No route to host
<27>1 2023-04-03T18:57:50+02:00 opnsense.local dhclient 77948 - [meta sequenceId="4"] send_packet: No route to host
<27>1 2023-04-03T18:58:27+02:00 opnsense.local dhclient 77948 - [meta sequenceId="5"] send_packet: No route to host
<27>1 2023-04-03T18:59:10+02:00 opnsense.local dhclient 77948 - [meta sequenceId="6"] send_packet: No route to host
<27>1 2023-04-03T19:00:16+02:00 opnsense.local dhclient 77948 - [meta sequenceId="1"] send_packet: No route to host
<27>1 2023-04-03T19:02:32+02:00 opnsense.local dhclient 77948 - [meta sequenceId="1"] send_packet: No route to host
<27>1 2023-04-03T19:05:53+02:00 opnsense.local dhclient 77948 - [meta sequenceId="1"] send_packet: No route to host
<27>1 2023-04-03T19:12:47+02:00 opnsense.local dhclient 77948 - [meta sequenceId="1"] send_packet: No route to host
<27>1 2023-04-03T19:20:33+02:00 opnsense.local dhclient 77948 - [meta sequenceId="1"] send_packet: No route to host
<27>1 2023-04-03T19:30:19+02:00 opnsense.local dhclient 77948 - [meta sequenceId="1"] send_packet: No route to host

until I was back at home and restarted it, at 19:34 today.

Now, my lease file is
Code: [Select]
lease {
  interface "vlan0.832";
  fixed-address 83.202.25.xx;
  next-server 80.10.234.173;
  option subnet-mask 255.255.248.0;
  option routers 83.202.24.1;
  option domain-name-servers 80.10.246.1,81.253.149.9;
  option host-name "opnsense";
  option broadcast-address 83.202.31.255;
  option dhcp-lease-time 604800;
  option dhcp-message-type 5;
  option dhcp-server-identifier 80.10.234.173;
  option dhcp-renewal-time 84672;
  option dhcp-rebinding-time 483840;
  option dhcp-client-identifier 1:ac:84:c9:xx:xx:xx;
  option option-90 0:0:0:0:0:0:0:0:0:0:0:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;
  option domain-search "MSR.access.orange-multimedia.net.";
  option option-125 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;
  renew 1 2023/4/3 16:34:20;
  rebind 2 2023/4/4 10:12:44;
  expire 0 2023/4/9 17:03:08;
}
lease {
  interface "vlan0.832";
  fixed-address 83.202.25.xx;
  next-server 80.10.234.173;
  option subnet-mask 255.255.248.0;
  option routers 83.202.24.1;
  option domain-name-servers 80.10.246.1,81.253.149.9;
  option host-name "opnsense";
  option broadcast-address 83.202.31.255;
  option dhcp-lease-time 604800;
  option dhcp-message-type 5;
  option dhcp-server-identifier 80.10.234.173;
  option dhcp-renewal-time 70604;
  option dhcp-rebinding-time 483840;
  option dhcp-client-identifier 1:ac:84:c9:xx:xx:xx;
  option option-90 0:0:0:0:0:0:0:0:0:0:0:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;
  option domain-search "MSR.access.orange-multimedia.net.";
  option option-125 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;
  renew 2 2023/4/4 13:10:56;
  rebind 3 2023/4/5 03:53:29;
  expire 1 2023/4/10 17:34:12;
}

I dont know where to look at to debug what happened.

If someone having an idea…
Many thanks :)

3
23.1 Legacy Series / Default ipv4 route drop when WAN dhcp renew
« on: February 06, 2023, 02:02:42 pm »
Hi all,
Since 23.1 update, I have an error every day. Default IPv4 route drop every 24h when my WAN interface renew this DHCP lease.
I'm using this config : https://docs.opnsense.org/manual/how-tos/orange_fr_fttp.html for Orange FTTH provider (in France).
I tried to reinstall and reimport my config, and recreating the VLAN interface from scratch, but without any difference.

I see these logs related to dhcp.
Code: [Select]
<27>1 2023-02-06T11:04:09+01:00 opnsense.xxx dhclient 61916 - [meta sequenceId="1"] unknown dhcp option value 0x5a
<27>1 2023-02-06T11:04:09+01:00 opnsense.xxx dhclient 61916 - [meta sequenceId="2"] unknown dhcp option value 0x7d
<27>1 2023-02-06T11:04:11+01:00 opnsense.xxx dhclient 61916 - [meta sequenceId="3"] unknown dhcp option value 0x5a
<27>1 2023-02-06T11:04:11+01:00 opnsense.xxx dhclient 61916 - [meta sequenceId="4"] unknown dhcp option value 0x7d
<13>1 2023-02-06T11:04:11+01:00 opnsense.xxx dhclient 37422 - [meta sequenceId="5"] New IP Address (vlan0.832): 83.202.xx.xx
<13>1 2023-02-06T11:04:11+01:00 opnsense.xxx dhclient 39678 - [meta sequenceId="6"] New Subnet Mask (vlan0.832): 255.255.248.0
<13>1 2023-02-06T11:04:11+01:00 opnsense.xxx dhclient 42657 - [meta sequenceId="7"] New Broadcast Address (vlan0.832): 83.202.xx.255
<13>1 2023-02-06T11:04:11+01:00 opnsense.xxx dhclient 44227 - [meta sequenceId="8"] New Routers (vlan0.832): 83.202.xx.1
<13>1 2023-02-06T11:04:11+01:00 opnsense.xxx dhclient 49809 - [meta sequenceId="9"] Creating resolv.conf
<13>1 2023-02-06T11:04:11+01:00 opnsense.xxx opnsense 66635 - [meta sequenceId="10"] /usr/local/etc/rc.newwanip: No IP change detected for WAN[wan]

DHCP lease got from my ISP is for 24h, but when renewing, it seems that the routes related to this link is drop off.
I need, to fix it, to do one of this step :
- manually add default route
- click to renew dhcp lease
- unplug/replug the network cable

IPv6 have no issue, but the DHCP6 lease seems to be longer than the IPv4 one.

I dont find more detailed logs…
Is someone have the same behaviour ? I didnt seen an issue on github.
Thanks

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2