I’m trying to work out how to configure my RB450G and going piece by piece… Finally I need to have two wan addresses, one should go through a vlan and the other untagged. For now I’m just trying to get the vlan one to work…
I’m resetting to factory settings adding the vlan, configuring dhcp-client to the vlan, disabling the one connected to eth1 and verifying it’s working over the switch it’s connected to:
interface vlan add name=iptv vlan-id=252 interface=ether1-gateway disabled=no
ip dhcp-client add interface=iptv disabled=no
ip dhcp-client disable 0
It’s getting an IP just fine:
ip dhcp-client print detail
Flags: X - disabled, I - invalid
0 X ;;; default configuration
interface=ether1-gateway add-default-route=yes
default-route-distance=1 use-peer-dns=yes use-peer-ntp=yes
1 interface=iptv add-default-route=yes default-route-distance=1
use-peer-dns=yes use-peer-ntp=yes status=bound
address=193.94.xxx.213/24 gateway=193.94.xxx.1
dhcp-server=193.64.xxx.208 primary-dns=193.64.xxx.215
secondary-dns=193.64.xxx.204 expires-after=11h59m43s
But that’s where it ends, I can’t get any traffic through. I guess it’s since the iptv interface is not connected to the bridge / interface my client is on?
ip route print detail
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static,
r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 ADS dst-address=0.0.0.0/0 gateway=193.94.xxx.1
gateway-status=193.94.xxx.1 reachable iptv distance=1 scope=30
target-scope=10
1 ADC dst-address=192.168.88.0/24 pref-src=192.168.88.1
gateway=bridge gateway-status=bridge reachable distance=0 scope=10
2 ADC dst-address=193.94.xxx.0/24 pref-src=193.94.xxx.213
gateway=iptv gateway-status=iptv reachable distance=0 scope=10
interface print detail
Flags: D - dynamic, X - disabled, R - running, S - slave
0 R name="ether1-gateway" type="ether" mtu=1500 l2mtu=1524
1 R name="ether2-local" type="ether" mtu=1500 l2mtu=1524
2 name="ether3-local" type="ether" mtu=1500 l2mtu=1524
3 name="ether4-local" type="ether" mtu=1500 l2mtu=1524
4 name="ether5-local" type="ether" mtu=1500 l2mtu=1524
5 R name="bridge" type="bridge" mtu=1500 l2mtu=1524
6 R name="iptv" type="vlan" mtu=1500 l2mtu=1520
interface bridge print detail
Flags: X - disabled, R - running
0 R name="bridge" mtu=1500 l2mtu=1524 arp=enabled
mac-address=00:0C:42:A0:61:10 protocol-mode=none priority=0x8000
auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m
I hope you don’t laugh me out of here… ![]()