SRX Services Gateway
SRX Services Gateway

srx 300 2 vlans from ISP

‎04-27-2018 06:29 AM

Hi,

 

I`m new in juniper world. I have srx 300 have to connect with my ISP. They give me 2 vlans: one tagged vlan (vlan tag 555) for TV, which I have to bridge with some lan port, and one untagged for internet. And I have to get ip via dhcp. I dont know how to set dhcp client on native vlan. My srx version is 15.1X49-D120.3. 

1 REPLY 1
Highlighted
SRX Services Gateway

Re: srx 300 2 vlans from ISP

‎04-27-2018 11:10 AM

Of the top of my head, written in notepad, not validated

set vlans vlan555 description TV
set vlans vlan555 vlan-id 555
set vlans vlan111 description INTERNET
set vlans vlan111 vlan-id 111
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/0 native-vlan-id 111
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members [ vlan111 vlan555 ]
set vlans vlan111 l3-interface irb.111
set interfaces irb unit 111 family inet dhcp

Regards, Wojtek