[RESOLVED] Re: Wrong net in vlan

2020-11-18 Thread Axel Rau
Hi Stuart, > Am 18.11.2020 um 13:20 schrieb Stuart Henderson : > > On 2020/11/18 12:48, Axel Rau wrote: >> From /etc/dhcpd.conf: >> - - - >> shared-network WLAN-NET { > > This is your problem. Oh yes. The art of carefully reading . . . Thanks a lot, Axel --- PGP-Key: CDE74120 ☀ computing @ c

Re: Wrong net in vlan

2020-11-18 Thread Stuart Henderson
On 2020/11/18 12:48, Axel Rau wrote: > From /etc/dhcpd.conf: > - - - > shared-network WLAN-NET { This is your problem.

Re: Wrong net in vlan

2020-11-18 Thread Axel Rau
> Am 18.11.2020 um 11:00 schrieb Stuart Henderson : > > On 2020-11-18, Axel Rau wrote: >> I think, the problem is that all vlans share the same lladr (see recent >> ifconfigs). >> To allow dhcpd to distinguish the vlans, I have to set the mac addresses >> manually. >> Will try this later. >

Re: Wrong net in vlan

2020-11-18 Thread Stuart Henderson
On 2020-11-18, Axel Rau wrote: > I think, the problem is that all vlans share the same lladr (see recent > ifconfigs). > To allow dhcpd to distinguish the vlans, I have to set the mac addresses > manually. > Will try this later. No this is totally normal, there is no need to touch the MAC addre

Re: Wrong net in vlan

2020-11-18 Thread Axel Rau
I think, the problem is that all vlans share the same lladr (see recent ifconfigs). To allow dhcpd to distinguish the vlans, I have to set the mac addresses manually. Will try this later. Axel --- axel@chaos1.de PGP-Key:29E99DD6 computing @ chaos claudius > Am 18.11.2020 um 00:09 schrie

Re: Wrong net in vlan

2020-11-17 Thread Stuart Henderson
On 2020-11-17, Axel Rau wrote: > > > --Apple-Mail=_AD48A584-E586-4B64-9277-CAE8E8103BC1 > Content-Type: text/plain; > charset=utf-8 > Content-Transfer-Encoding: 8bit > > Hi all. > >> Am 16.11.2020 um 11:09 schrieb Axel Rau : >> >> - - - >> From /etc/rc.conf.local: >> - - - >> dhcpd_flags="e

Re: Wrong net in vlan

2020-11-17 Thread Axel Rau
Hi all. > Am 16.11.2020 um 11:09 schrieb Axel Rau : > > - - - > From /etc/rc.conf.local: > - - - > dhcpd_flags="em0 em3 vlan11 vlan12 vlan13 vlan14 vlan15 vlan16" > - - - I have still no resolution. dhcpd preovides always an address from the subnet 172.16.11/24 regardless from which vlan comes

Re: Wrong net in vlan

2020-11-16 Thread Axel Rau
> Am 15.11.2020 um 22:33 schrieb Mihai Popescu : > > Hint: show some dhcpd configs. >From /etc/dhcpd.conf: - - - subnet 172.16.11.0 netmask 255.255.255.0 { option routers 172.16.11.1; range 172.16.11.100 172.16.11.200; } subnet 172.16.12.

Re: Wrong net in vlan

2020-11-15 Thread Mihai Popescu
> What is wrong here? You show info about vlans then suddenly complain about non working dhcpd. Hint: show some dhcpd configs.

Wrong net in vlan

2020-11-15 Thread Axel Rau
Hi all, in hostname.vlan11, I have: - - - vnetid 11 parent em3 inet 172.16.11.1 255.255.255.0 NONE - - - in hostname.vlan12, I have: - - - vnetid 12 parent em3 inet 172.16.12.1 255.255.255.0 NONE - - - but dhcpd logs: - - - DHCPOFFER on 172.16.11.106 to d6:b5:e4:2a:3a:1c via vlan12 - - - What is