Cantilever route setting method

 

I. Glossary

Routing-arm (router-on-a-stick ) by means disposed on an interface of the router sub-interface mode (or "logical interface", there is no real physical interface), to achieve expansion in the wan port routing Alfa and demand lan port.

Second, how to open

For the environment: Supports open in only one card case

 

How to open: open the console interface operation in Chinese, Chinese console menu Advanced - VGA port router connected to the display, the keyboard connected to the front USB port.

image.png 

V input operation is on, you need to restart to take effect after opening

 image.png

 

 image.png

 

After a successful turn, automatically generate eight virtual NICs

 

Precautions:

This eight virtual network card itself carries VLAN information corresponding VLAN1-VLAN8

 

 

Third, the actual case to explain

 

① Environment: single NIC routers, switches (J5028) an external network line (DHCP automatic acquisition), both have computer access network needs

② environment topology:

image.png 

NOTE: Internet access switch 8, two PC 7 and access switch 21, a switch router 13

③ routing configuration: wan1 binding VETH8 card, access DHCP mode select

           image.png

Extended lan2, binding VETH7 card, set the IP address 192.168.50.1

image.png 

 

Corresponding to the interface enable DHCP LAN2

image.png 

 

④ Switch Configuration:

A trunk port 13 is provided, by allowing vlan7 and vlan8

image.png 

8 is provided a home VLAN8

image.png 

7 and 21 provided a home VLAN7

image.png 

 

⑤ After setup is complete, PC can automatically obtain the IP address of the Internet

Guess you like

Origin www.cnblogs.com/ikuai/p/11640857.html