Hello
i need to create on running Debian 10 a DHCP Client that will running with VLAN.
Network Server are distribute dhcp range Vlan30, my windows clients can do this,
but now i need this also on my Debian machines.
apt-get install vlan
/etc/modules
8021q
i add this settings to /etc/betwrok/interface
auto enp0s25
iface enp0s25.20 inet dhcp
vlan-raw-device enp0s24
but here my Debian dont run the acknoledge with the DHCP Server, and no ip will be asigned.
thanks for possible update
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Howto - DHCP Client - VLAN ?
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Howto - DHCP Client - VLAN ?
Several inconsistencies.
You write VLAN 30 but configure enp0s25.20
You configure enp0s25.20 but defined enp0s24 as the raw interface.
You configure enp0s25.20 but bring up enp0s25 only.
You write VLAN 30 but configure enp0s25.20
You configure enp0s25.20 but defined enp0s24 as the raw interface.
You configure enp0s25.20 but bring up enp0s25 only.
Re: Howto - DHCP Client - VLAN ?
Hello p.H
First thanks for your quick answer!!
yes you are right!, its was a writing error here, sorry
apt-get install vlan
/etc/modules
8021q
i add this settings to /etc/betwrok/interface
auto enp0s25
iface enp0s25.30 inet dhcp
vlan-raw-device enp0s25
also with this settings no dhcp address i will received ?
please what are the mistake
or need to write this way?
auto enp0s25.30
iface enp0s25.30 inet dhcp
vlan-raw-device enp0s25
First thanks for your quick answer!!
yes you are right!, its was a writing error here, sorry
apt-get install vlan
/etc/modules
8021q
i add this settings to /etc/betwrok/interface
auto enp0s25
iface enp0s25.30 inet dhcp
vlan-raw-device enp0s25
also with this settings no dhcp address i will received ?
please what are the mistake
or need to write this way?
auto enp0s25.30
iface enp0s25.30 inet dhcp
vlan-raw-device enp0s25
Re: Howto - DHCP Client - VLAN ?
ok... but now if restarting the machine thakes 4-5 min
"a start Job is running for raise network interface (5m / 5m)"
"a start Job is running for raise network interface (5m / 5m)"
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Howto - DHCP Client - VLAN ?
Well then... you can run
and see what's wrong.
Code: Select all
ifdown enp0s25.30
ifup -v enp0s25.30