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

    Vlan and DHCP

    DHCP and DNS
    2
    6
    3.8k
    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.
    • W
      wilbertjoosen
      last edited by

      Hi,

      I have the latest stable pfsense: 1.2.3

      I have 6 physical nics

      sk0 for wan ( public ips ) XXX.XXX.XXX.XXX
      rl0 for lan 192.168.1.1
      nfe0 for anything i want 10.0.0.1
      re0 for vlans 192.168.1.2
      vr0 for wireless 172.16.0.1
      re1 for ADSL DHCP from modem

      1 have 9 vlans starting by tag 2 to 10

      192.168.2.0/24
      192.168.3.0/24
      192.168.4.0/24
      192.168.5.0/24
      192.168.6.0/24
      192.168.7.0/24
      192.168.8.0/24
      192.168.9.0/24
      192.168.10.0/24

      My SWITCH is: 3com Baseline 2250 plus with 50 ports

      I've just setup vlan at switch and put the vlan tags 2 to 10 acording ports i want and all i have tagged.

      All vlans have their own dhcp server, but if i plug a cable for example at port 25 that correspond vlan 9 with sub net 192.168.9.0/24 i get ip 192.168.1.245!!!

      What i have to do?

      1 Reply Last reply Reply Quote 0
      • W
        wilbertjoosen
        last edited by

        Here is some log…

        Feb 10 13:39:45 kernel: arp: 192.168.1.18 is on rl0 but got reply from 00:13:d4:8e:a0:57 on re0
        Feb 10 13:39:05 kernel: arp: 192.168.1.245 is on rl0 but got reply from 90:84:0d:e9:0a:f9 on re0
        Feb 10 13:37:09 kernel: arp: 192.168.1.18 is on rl0 but got reply from 00:13:d4:8e:a0:57 on re0
        Feb 10 13:34:55 kernel: arp: 192.168.1.1 is on lo0 but got reply from 00:08:54:26:af:83 on re0
        Feb 10 13:33:28 kernel: arp: 192.168.1.18 is on rl0 but got reply from 00:13:d4:8e:a0:57 on re0
        Feb 10 13:33:12 kernel: arp: 192.168.1.1 is on lo0 but got reply from 00:08:54:26:af:83 on re0
        Feb 10 13:33:12 kernel: arp: 192.168.1.1 is on lo0 but got reply from 00:08:54:26:af:83 on re0

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob
          last edited by

          @wilbertjoosen:

          rl0 for lan 192.168.1.1
          re0 for vlans 192.168.1.2

          This isn't right: you need separate subnets for each interface. Hence in further discussion it would be helpful if you also showed the network mask specified on the interface so we don't have to guess it.

          @wilbertjoosen:

          Here is some log…

          Feb 10 13:39:45 kernel: arp: 192.168.1.18 is on rl0 but got reply from 00:13:d4:8e:a0:57 on re0
          Feb 10 13:39:05 kernel: arp: 192.168.1.245 is on rl0 but got reply from 90:84:0d:e9:0a:f9 on re0

          You have an invalid configuration: some sort of link between the subnet attached to rl0 and the subnet attached to re0.

          If I recall correctly, someone in these forums has reported a problem with a 3Com switch and VLANs. If rl0 and re0 are connected to the switch maybe you are seeing a similar problem.

          1 Reply Last reply Reply Quote 0
          • W
            wilbertjoosen
            last edited by

            ok, so i have to disconect for example re0, and use rl0 for lan and vlans?

            ex:

            192.168.1.1 for lan

            vlans

            192.168.2.1
            192.168.3.1
            192.168.4.1
            192.168.5.1
            192.168.6.1
            192.168.7.1
            192.168.8.1
            192.168.9.1
            192.168.10.1

            all vlans and lan i´m using /24

            Thanks

            1 Reply Last reply Reply Quote 0
            • W
              wilbertjoosen
              last edited by

              More onde question, what port i have to connect the lan interface (use for vlans)? it must be tagged or not?

              Thanks

              1 Reply Last reply Reply Quote 0
              • W
                wilbertjoosen
                last edited by

                Hello all,

                Good news, i've just solve my problems:

                At switch, on port that pfsense is plugued, i set all vlan's ids, and this port must be tagged, and the others untagged.

                Thanks for all

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