Can't get DHCP on WAN

Hi guys,

Feel kinda dumbfounded. Spent a few years in Telcom with Enterprise Cisco routers/switches, etc… Was setting up my CRS309 to good use as a router to see how its performance is, and stop using the Comcast XB8 modem/router combo, especially needed VLANs.

No matter what I did, and I admit, super new to the command line interface, etc. Read and Googled with similar keywords, but just can’t get either the Gig eth1 interface nor an SPF+ interface to be able to get a DHCP IP, either from the modem directly, and as a test, by pretending to be a client on the same network (put bridged mode back on XB8 moder/router). I see interfaces in constant searching mode. Enabled logs with the topic=dhcp, but doesn’t show me much.

I did manage to figure out how to download the config, it’s attached:
config.txt.rsc (3.89 KB)
Would appreciate a helping hand, please!

Thanks,

D4

This:


/ipv6 dhcp-client
add interface=sfp-sfpplus1 request=address

…is almost right, but not quite. You’re requesting an IPv6 address with DHCPv6, not what you were doubtlessly expecting, an IPv4 address. Change “/ipv6” to “/ip” and it’ll start behaving.

When you decide to add IPv6 to that, DHCPv6 is not often what you want, since you’re more often wanting an IPv6 address block, not a single IP address, which works differently. There are multiple threads here (example) that cover how to configure IPv6 correctly.

EDIT: Also, remove your WAN port(s) from the bridge. This is wrong:


/interface bridge port
add bridge=bridge comment=defconf ingress-filtering=no interface=ether1
add bridge=bridge comment=defconf disabled=yes ingress-filtering=no \
    interface=sfp-sfpplus1

You don’t want your WAN and LAN bridged together if you want this CRS309 to behave like a router.