mirror of
https://git.dn42.dev/wiki/wiki
synced 2025-03-13 11:16:32 +00:00
Super VLAN is really super! by HORIN-DN42
This commit is contained in:
parent
407f232efa
commit
8cb4e4739e
@ -7,11 +7,18 @@ Looks like ExtremeWare doesn't support any tunneling mechanism in contrast to Ex
|
|||||||
## Snipplet
|
## Snipplet
|
||||||
This configuration was tested on latest EW of 7.8.4.1 patch1-r4 version. But it should work on most of older releases as well.
|
This configuration was tested on latest EW of 7.8.4.1 patch1-r4 version. But it should work on most of older releases as well.
|
||||||
|
|
||||||
enable ipforwarding
|
## DN42 should go both in internal (for clients) and external VLANs
|
||||||
|
create vlan svlan
|
||||||
|
configure vlan svlan ipaddress 192.168.1.100/24
|
||||||
# Adding an alias
|
# Adding an alias
|
||||||
enable multinetting standard
|
enable multinetting standard
|
||||||
configure vlan ext add secondary-ip 172.23.150.2/24
|
configure vlan svlan add secondary-ip 172.23.150.2/24
|
||||||
|
...
|
||||||
|
enable ipforwarding
|
||||||
|
|
||||||
|
configure vlan svlan add subvlan ext
|
||||||
|
...
|
||||||
|
##
|
||||||
|
|
||||||
# Adding route to a neighbor
|
# Adding route to a neighbor
|
||||||
configure iproute add 172.23.11.1/32 172.23.150.1
|
configure iproute add 172.23.11.1/32 172.23.150.1
|
||||||
@ -28,8 +35,8 @@ Now, if you're trying EBGP with your peer:
|
|||||||
configure bgp add network 77.37.212.15/32
|
configure bgp add network 77.37.212.15/32
|
||||||
|
|
||||||
create bgp neighbor 172.23.11.1 remote-AS-number 64526
|
create bgp neighbor 172.23.11.1 remote-AS-number 64526
|
||||||
# Point to a proper outgoing interface
|
# Point to a proper outgoing interface, useless in case when Super VLAN is used
|
||||||
configure bgp neighbor 172.23.11.1 source-interface vlan ext
|
#configure bgp neighbor 172.23.11.1 source-interface vlan ext
|
||||||
|
|
||||||
enable bgp neighbor 172.23.11.1
|
enable bgp neighbor 172.23.11.1
|
||||||
|
|
||||||
@ -52,20 +59,4 @@ After that ping and traceroute are your mates. It is worth to point switch to th
|
|||||||
|
|
||||||
`configure dns-client add name-server 192.168.1.1`
|
`configure dns-client add name-server 192.168.1.1`
|
||||||
|
|
||||||
And use names.
|
And use names.
|
||||||
|
|
||||||
## Routing
|
|
||||||
After you've made DN42 work at switch, you may provide access to switch's clients:
|
|
||||||
|
|
||||||
# Assign 802.11Q tag
|
|
||||||
configure vlan ext tag 100
|
|
||||||
configure vlan ext add ports 2-16 tagged
|
|
||||||
|
|
||||||
And on your client UNIX machine:
|
|
||||||
|
|
||||||
# Assign matching tag
|
|
||||||
ifconfig vlan0 vlan 100 vlandev en0
|
|
||||||
ifconfig vlan0 inet 172.23.150.4/25
|
|
||||||
route add 172.22.0.0/15 172.23.150.2
|
|
||||||
|
|
||||||
**TO-DO**: Doing the same without 802.11Q.
|
|
Loading…
x
Reference in New Issue
Block a user