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

Help with trunking from Cisco switch (can get DHCP, not able to ping out)

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
4 Posts 3 Posters 2.0k 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.
  • E
    exark
    last edited by Jul 11, 2013, 1:35 AM

    Hello,

    I'm attempting to setup a network with 6 VLANs on a Cisco 3560G connected to a pfSense box. VLANs are VLAN101, VLAN201, VLAN301, etc. I have followed the tutorial at http://networktechnical.blogspot.com/2007/04/pfsense-how-to-setup-vlans.html and DHCP successfully works for each VLAN when connecting via the switch. However, from the switch I cannot ping the gateway address for the VLAN (the address on the pfSense box).

    For example:

    VLAN101 is defined on the pfSense box to have an IP of 10.2.1.1/26. The DHCP range for that interface is 10.2.1.30 - 10.2.1.60. When I plug a machine into a port on the switch, it receives a DHCP address (10.2.1.30) and can ping the VLAN101 interface on the switch at 10.2.1.62. However, it cannot ping the VLAN interface on the pfSense box at 10.2.1.1.

    I have made sure that I have a firewall rule for allow any traffic for VLAN101 ("*" across the board on the rule page).

    The configuration for my trunk port on the switch is:

    interface GigabitEthernet0/49
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 101,201,301,401,501,601
    switchport mode trunk

    and the port I'm plugging the machine into is:

    interface GigabitEthernet0/13
    switchport access vlan 101
    switchport mode access
    spanning-tree portfast

    Any thoughts as to where I should go next in troubleshooting this?

    Thanks in advance!

    1 Reply Last reply Reply Quote 0
    • W
      wallabybob
      last edited by Jul 11, 2013, 1:47 AM

      Did you reset states after configuring the firewall rules? (See Diagnostics -> States click on Reset States, read and click the Reset button.)

      1 Reply Last reply Reply Quote 0
      • C
        CyberTiVo
        last edited by Jul 11, 2013, 2:49 PM Jul 11, 2013, 2:34 PM

        Is your switch setup to do routing?  If not, what is the default gateway on the switch?  It sounds like your computers are working.  Is pinging from the switch the only thing not working?

        1 Reply Last reply Reply Quote 0
        • E
          exark
          last edited by Jul 12, 2013, 10:44 PM

          Thanks for the help, you two. Resetting states seems to have done the trick.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received