DHCP VLAN not working on the client side?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0















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









share|improve this question



















  • 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, while enp0s8 either shouldn't exist,, or at least shouldn't have dhcp...

    – dirkt
    Feb 25 at 14:06















0















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









share|improve this question



















  • 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, while enp0s8 either shouldn't exist,, or at least shouldn't have dhcp...

    – dirkt
    Feb 25 at 14:06













0












0








0








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









share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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












  • 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, while enp0s8 either shouldn't exist,, or at least shouldn't have dhcp...

    – 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










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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?