Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OPT1 Interface - Cant run apt-get but can ping 8.8.8.8 or any other address

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 463 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jauyzed
      last edited by

      Hello,

      I have a pfsense vm setup on xenserver with LAN and OPT1 interface setup show below.

      The LAN interface with WiFi AP works just fine but there are some networking issues for the OPT1 interface. I have ubuntu server VM and ubuntu desktop VM shown in the image.

      File contents of /etc/network/interfaces for desktop

      iface eth0 inet static
      address 10.1.10.103
      network 10.1.10.1
      netmask 255.255.255.0
      gateway 10.1.10.1
      broadcast 10.1.1.0
      dns-nameservers 10.1.10.1

      From this VM, I can ping 8.8.8.8 or any destination for that matter. I can ping even LAN devices but I cant browse internet on browser or sudo apt-get commands. It just says waiting for headers and intermitently shows a d/l speed of 2334 b/s. I can ping the VM's in this network from pfsense box and vice versa

      Attached are the firewall settings for each interface WAN and OPT1. I have tried setting few things with firewall rules: any to any, WAN address to OPT1 address, WAN net to OPT1 net/address/single host and ofcourse vice versa. I dont have any NAT settings yet. Using Static IP's on OPT1

      Please let me what I have missed and what Im doing wrong. I have banged my head towards my monitor for several days. I can send any other screenshots as required

      Thanks!
      ![Screenshot from 2017-03-10 17-36-01.png](/public/imported_attachments/1/Screenshot from 2017-03-10 17-36-01.png)
      ![Screenshot from 2017-03-10 17-36-01.png_thumb](/public/imported_attachments/1/Screenshot from 2017-03-10 17-36-01.png_thumb)
      ![Screenshot from 2017-03-10 19-16-09.png](/public/imported_attachments/1/Screenshot from 2017-03-10 19-16-09.png)
      ![Screenshot from 2017-03-10 19-16-09.png_thumb](/public/imported_attachments/1/Screenshot from 2017-03-10 19-16-09.png_thumb)
      ![Screenshot from 2017-03-10 19-16-44.png](/public/imported_attachments/1/Screenshot from 2017-03-10 19-16-44.png)
      ![Screenshot from 2017-03-10 19-16-44.png_thumb](/public/imported_attachments/1/Screenshot from 2017-03-10 19-16-44.png_thumb)

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by

        you see the sticky on running pfsense on xen

        https://forum.pfsense.org/index.php?topic=88467.0

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

        1 Reply Last reply Reply Quote 0
        • J Offline
          jauyzed
          last edited by

          Thank you. I went thro all the steps described in the post you sent me. on top of that I had to add a new property in /boot/loader.conf.local in pfsense vm
          hw.xen.disable_pv_nics=1 .

          With this setting, the reboot asked me to set up all interfaces again with new interface names. Then I had internet on OPT1 interface.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.