Comware

 View Only
last person joined: 15 hours ago 

Expand all | Collapse all

how to HP 1920 as a Router

This thread has been viewed 0 times
  • 1.  how to HP 1920 as a Router

    Posted Feb 08, 2017 01:55 AM

    Hi,

    I have a HP1920 and I want to setting as a router, can you tell me how with the configuration ?

    Vlan1 = ISP ( internet ) ........ 103.x.x.22 255.255.255.30 103.x.x.21
    Vlan2 = Server (Aplication ) ........ 10.0.1.1
    Vlan3 = Static User ( Internet + Server access ) .... 10.0.2.1
    Vlan4= DHCP User ( Internet + Server access ) .... 10.0.3.1

    on Vlan3 and Vlan4 can access Internet and


    #HP1920
    #HP1920asaRouter


  • 2.  RE: how to HP 1920 as a Router

    Posted Feb 08, 2017 04:45 AM

    Judging from address 103.x.x.22 255.255.255.30:  You can't !

    That address is a public IP address, to route to the internet, you require a device that does NAT and firewalling.
    The 1920 can't do NAT



  • 3.  RE: how to HP 1920 as a Router

    EMPLOYEE
    Posted Feb 11, 2017 02:51 PM

    The 1920's are capable of ip routing and can route traffic accross vlan but again if that's all you need, yes it is capable of that but NATing is not an option on any of HPE switches.



  • 4.  RE: how to HP 1920 as a Router

    Posted Feb 16, 2017 03:55 AM

    simply create your vlans and than add the ip address statement to the vlan, this enables the Layer-3 functionality and let your swich act as an MLS (router)

    example:

    vlan 3
       name "Server"
      untagged 1-8
       tagged 21-24
       ip address 10.10.3.1 255.255.255.0
       exit
    vlan 4
       name "clients"
       untagged 9-12
        tagged 21-24
       ip address 10.10.4.1 255.255.255.0
       exit
    <... more svi's here>
    vlan 5 name "ISP uplink" untagged 20 ip address 103.17.18.21 255.255.255.252 exit

    than add the routes (most probably to your ISP) you need if your FW has the ...22

    ip route 0.0.0.0 0.0.0.0 103.17.18.22

    do not forget to add a route to your connected networks on the switch on the firewall! So your firewall needs something like

    ip route 10.10.0.0/20 via 103.17.18.21  (summarized route via the nexthop on your 1920)