[Dnsmasq-discuss] VLANs and incorrect pools?

Chris Moates cmoates at gmail.com
Wed Feb 9 15:49:13 GMT 2011


On Wed, Feb 9, 2011 at 4:26 AM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> Chris Moates wrote:
>
>>
>> Yes, they are real tagged VLANs. Two VLANs coming in on one interface
>> (eth1) and one on the other (eth0).
>>
>
> Please could you post the output of these two commands?
>
> ip addr show
> cat /proc/net/vlan/*
>
> Cheers,
>
> Simon.
>
>

I decided to take another crack at it this morning, and it seems to be
issuing IP's from the right pool this morning. Random chance? I'm
going to investigate more, but in the mean time, here's the requested
information.

ip addr show:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 6c:f0:49:e0:8e:3a brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6ef0:49ff:fee0:8e3a/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:1b:2f:c7:3e:66 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::21b:2fff:fec7:3e66/64 scope link
       valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0
5: eth0.12 at eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether 6c:f0:49:e0:8e:3a brd ff:ff:ff:ff:ff:ff
    inet 10.8.2.1/24 brd 10.8.2.255 scope global eth0.12
    inet6 fe80::6ef0:49ff:fee0:8e3a/64 scope link
       valid_lft forever preferred_lft forever
6: eth1.10 at eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether 00:1b:2f:c7:3e:66 brd ff:ff:ff:ff:ff:ff
    inet 10.8.16.6/24 brd 10.8.16.255 scope global eth1.10
    inet 10.8.16.4/8 brd 10.255.255.255 scope global eth1.10:0
    inet6 fe80::21b:2fff:fec7:3e66/64 scope link
       valid_lft forever preferred_lft forever
7: eth1.11 at eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether 00:1b:2f:c7:3e:66 brd ff:ff:ff:ff:ff:ff
    inet 10.8.1.1/24 brd 10.8.1.255 scope global eth1.11
    inet6 fe80::21b:2fff:fec7:3e66/64 scope link
       valid_lft forever preferred_lft forever

cat /proc/net/vlan/*:

VLAN Dev name	 | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
eth0.12        | 12  | eth0
eth1.10        | 10  | eth1
eth1.11        | 11  | eth1
eth0.12  VID: 12	 REORDER_HDR: 1  dev->priv_flags: 81
         total frames received      7507019
          total bytes received  10854719602
      Broadcast/Multicast Rcvd            0

      total frames transmitted      3864315
       total bytes transmitted    339597232
            total headroom inc            0
           total encap on xmit            0
Device: eth0
INGRESS priority mappings: 0:0  1:0  2:0  3:0  4:0  5:0  6:0 7:0
EGRESSS priority Mappings:
eth1.10  VID: 10	 REORDER_HDR: 1  dev->priv_flags: 81
         total frames received    169421985
          total bytes received  29985030231
      Broadcast/Multicast Rcvd        11205

      total frames transmitted    243173895
       total bytes transmitted 111511819798
            total headroom inc            0
           total encap on xmit            0
Device: eth1
INGRESS priority mappings: 0:0  1:0  2:0  3:0  4:0  5:0  6:0 7:0
EGRESSS priority Mappings:
eth1.11  VID: 11	 REORDER_HDR: 1  dev->priv_flags: 81
         total frames received            0
          total bytes received            0
      Broadcast/Multicast Rcvd            0

      total frames transmitted        14663
       total bytes transmitted       620290
            total headroom inc            0
           total encap on xmit            0
Device: eth1
INGRESS priority mappings: 0:0  1:0  2:0  3:0  4:0  5:0  6:0 7:0
EGRESSS priority Mappings:

Cheers,
Chris



More information about the Dnsmasq-discuss mailing list