On Tue, 26 Apr 2016 10:09:41 +0000 (UTC) Stuart Henderson <s...@spacehopper.org> wrote: > Yes, I set one up via pppoe. But the ONT is just providing the > physical connection, the specifics of what you need to do on top of > that are ISP-dependent. If they are telling you DHCP then use DHCP :)
Yeah, that's half the problem. My ISP isn't telling me much. Their helpdesk is handled out of the Philippines and it seems they're reading off a script. They don't mention PPPoE but from what I've tried so far, this looks like it will be necessary. > Setup the vlan before doing dhcp (i.e. vlan 10 vlandev em2 on one > line, then dhcp on another). > > If that doesn't help, paste the actual ifconfig output. # cat /etc/hostname.em2 dhcp # cat /etc/hostname.vlan10 up vlan 10 vlandev em2 dhcp # sh /etc/netstart vlan10 DHCPDISCOVER on vlan10 - interval 3 DHCPDISCOVER on vlan10 - interval 8 DHCPDISCOVER on vlan10 - interval 15 DHCPDISCOVER on vlan10 - interval 21 DHCPDISCOVER on vlan10 - interval 14 No acceptable DHCPOFFERS received. No working leases in persistent database - sleeping. # ifconfig em2 em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:11:0a:08:01:57 priority: 0 media: Ethernet autoselect (1000baseTfull-duplex,rxpause,txpause) status: active # ifconfig vlan10 vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:11:0a:08:01:57 priority: 0 vlan: 10 parent interface: em2 groups: vlan status: active Cheers Jeremy