DHCP VLAN not working on the client side?
Clash Royale CLAN TAG#URR8PPP
I have developed a server using Linux. The server is a DHCP VLAN server consisting of two VLANs 110 and 120. I am trying to get it working to the client side.
My /etc/network/interfaces
for VLAN 110
auto lo
iface lo inet loopback
#VLAN 110
auto enp0s9.110
iface enp0s9.110 inet static
address 192.168.110.1
netmask 255.255.255.0
network 192.168.110.0
broadcast 192.168.110.255
vlan_raw_device enp0s9
My /etc/default/isc-dhcp-server
IPv4 Interface
INTERFACESv5="enp0s9.110 enp0s10.120"
My /etc/dhcp/dhcpd.conf
configuration for VLAN 110
subnet 192.168.110.0 netmask 255.255.255.0
option domain-name testdom.local;
option domain-name-servers ns1.testdom.local;
range 192.168.110.60 192.168.110.100;
option routers 192.168.110.1;
option broadcast-address 192.168.110.255;
My client side on Ubuntu terminal for VLAN 110
# VLAN 110 for Ubuntu Client
auto enp0s8
iface enp0s8 inet dhcp
gateway 192.168.110.1
Rebooted the client machine...
I ran ip addr show enp0s8
and I get the address line of
inet 169.254.9.100/16 brd 169.254.255.255 scope link enp0s8:avahi
linux dhcp vlan
add a comment |
I have developed a server using Linux. The server is a DHCP VLAN server consisting of two VLANs 110 and 120. I am trying to get it working to the client side.
My /etc/network/interfaces
for VLAN 110
auto lo
iface lo inet loopback
#VLAN 110
auto enp0s9.110
iface enp0s9.110 inet static
address 192.168.110.1
netmask 255.255.255.0
network 192.168.110.0
broadcast 192.168.110.255
vlan_raw_device enp0s9
My /etc/default/isc-dhcp-server
IPv4 Interface
INTERFACESv5="enp0s9.110 enp0s10.120"
My /etc/dhcp/dhcpd.conf
configuration for VLAN 110
subnet 192.168.110.0 netmask 255.255.255.0
option domain-name testdom.local;
option domain-name-servers ns1.testdom.local;
range 192.168.110.60 192.168.110.100;
option routers 192.168.110.1;
option broadcast-address 192.168.110.255;
My client side on Ubuntu terminal for VLAN 110
# VLAN 110 for Ubuntu Client
auto enp0s8
iface enp0s8 inet dhcp
gateway 192.168.110.1
Rebooted the client machine...
I ran ip addr show enp0s8
and I get the address line of
inet 169.254.9.100/16 brd 169.254.255.255 scope link enp0s8:avahi
linux dhcp vlan
2
Is the client receiving tagged or untagged frames? ie: should there be a enp0s8.110 ?
– A.B
Feb 25 at 6:43
The client is supposed to get agged frames
– ThomasJH
Feb 25 at 11:34
1
And if the client is supposed to get tagged frames, you need anenp0s8.110
on the client, whileenp0s8
either shouldn't exist,, or at least shouldn't havedhcp
...
– dirkt
Feb 25 at 14:06
add a comment |
I have developed a server using Linux. The server is a DHCP VLAN server consisting of two VLANs 110 and 120. I am trying to get it working to the client side.
My /etc/network/interfaces
for VLAN 110
auto lo
iface lo inet loopback
#VLAN 110
auto enp0s9.110
iface enp0s9.110 inet static
address 192.168.110.1
netmask 255.255.255.0
network 192.168.110.0
broadcast 192.168.110.255
vlan_raw_device enp0s9
My /etc/default/isc-dhcp-server
IPv4 Interface
INTERFACESv5="enp0s9.110 enp0s10.120"
My /etc/dhcp/dhcpd.conf
configuration for VLAN 110
subnet 192.168.110.0 netmask 255.255.255.0
option domain-name testdom.local;
option domain-name-servers ns1.testdom.local;
range 192.168.110.60 192.168.110.100;
option routers 192.168.110.1;
option broadcast-address 192.168.110.255;
My client side on Ubuntu terminal for VLAN 110
# VLAN 110 for Ubuntu Client
auto enp0s8
iface enp0s8 inet dhcp
gateway 192.168.110.1
Rebooted the client machine...
I ran ip addr show enp0s8
and I get the address line of
inet 169.254.9.100/16 brd 169.254.255.255 scope link enp0s8:avahi
linux dhcp vlan
I have developed a server using Linux. The server is a DHCP VLAN server consisting of two VLANs 110 and 120. I am trying to get it working to the client side.
My /etc/network/interfaces
for VLAN 110
auto lo
iface lo inet loopback
#VLAN 110
auto enp0s9.110
iface enp0s9.110 inet static
address 192.168.110.1
netmask 255.255.255.0
network 192.168.110.0
broadcast 192.168.110.255
vlan_raw_device enp0s9
My /etc/default/isc-dhcp-server
IPv4 Interface
INTERFACESv5="enp0s9.110 enp0s10.120"
My /etc/dhcp/dhcpd.conf
configuration for VLAN 110
subnet 192.168.110.0 netmask 255.255.255.0
option domain-name testdom.local;
option domain-name-servers ns1.testdom.local;
range 192.168.110.60 192.168.110.100;
option routers 192.168.110.1;
option broadcast-address 192.168.110.255;
My client side on Ubuntu terminal for VLAN 110
# VLAN 110 for Ubuntu Client
auto enp0s8
iface enp0s8 inet dhcp
gateway 192.168.110.1
Rebooted the client machine...
I ran ip addr show enp0s8
and I get the address line of
inet 169.254.9.100/16 brd 169.254.255.255 scope link enp0s8:avahi
linux dhcp vlan
linux dhcp vlan
edited Feb 25 at 20:33
Rui F Ribeiro
41.6k1483141
41.6k1483141
asked Feb 25 at 3:46
ThomasJHThomasJH
12
12
2
Is the client receiving tagged or untagged frames? ie: should there be a enp0s8.110 ?
– A.B
Feb 25 at 6:43
The client is supposed to get agged frames
– ThomasJH
Feb 25 at 11:34
1
And if the client is supposed to get tagged frames, you need anenp0s8.110
on the client, whileenp0s8
either shouldn't exist,, or at least shouldn't havedhcp
...
– dirkt
Feb 25 at 14:06
add a comment |
2
Is the client receiving tagged or untagged frames? ie: should there be a enp0s8.110 ?
– A.B
Feb 25 at 6:43
The client is supposed to get agged frames
– ThomasJH
Feb 25 at 11:34
1
And if the client is supposed to get tagged frames, you need anenp0s8.110
on the client, whileenp0s8
either shouldn't exist,, or at least shouldn't havedhcp
...
– dirkt
Feb 25 at 14:06
2
2
Is the client receiving tagged or untagged frames? ie: should there be a enp0s8.110 ?
– A.B
Feb 25 at 6:43
Is the client receiving tagged or untagged frames? ie: should there be a enp0s8.110 ?
– A.B
Feb 25 at 6:43
The client is supposed to get agged frames
– ThomasJH
Feb 25 at 11:34
The client is supposed to get agged frames
– ThomasJH
Feb 25 at 11:34
1
1
And if the client is supposed to get tagged frames, you need an
enp0s8.110
on the client, while enp0s8
either shouldn't exist,, or at least shouldn't have dhcp
...– dirkt
Feb 25 at 14:06
And if the client is supposed to get tagged frames, you need an
enp0s8.110
on the client, while enp0s8
either shouldn't exist,, or at least shouldn't have dhcp
...– dirkt
Feb 25 at 14:06
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f502776%2fdhcp-vlan-not-working-on-the-client-side%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f502776%2fdhcp-vlan-not-working-on-the-client-side%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Is the client receiving tagged or untagged frames? ie: should there be a enp0s8.110 ?
– A.B
Feb 25 at 6:43
The client is supposed to get agged frames
– ThomasJH
Feb 25 at 11:34
1
And if the client is supposed to get tagged frames, you need an
enp0s8.110
on the client, whileenp0s8
either shouldn't exist,, or at least shouldn't havedhcp
...– dirkt
Feb 25 at 14:06