<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic vlan trunk to debian host, host has trouble with Internet connection in Switches, Hubs, and Modems</title>
    <link>https://community.hpe.com/t5/switches-hubs-and-modems/vlan-trunk-to-debian-host-host-has-trouble-with-internet/m-p/4322997#M16819</link>
    <description>I have a router (m0n0wall) with 2 nics.&lt;BR /&gt;One nic for wlan the other I use for vlan trunk to port 26 of my Procurve 2626 switch.&lt;BR /&gt;&lt;BR /&gt;I created 3 vlans in router and switch.&lt;BR /&gt;port range 1-8 untagged on vlan22&lt;BR /&gt;port range 9-16 untagged on vlan44&lt;BR /&gt;port range 17-24 untagged on vlan66&lt;BR /&gt;port 26 trunk all vlans to router lan nic&lt;BR /&gt;&lt;BR /&gt;Now I want to use my Samba server and send broadcasts on my 3 vlans. I connected my Debian etch Samba server on switch port 17 and tagged port 17 for all 3 vlans.&lt;BR /&gt;&lt;BR /&gt;Then I configured vlans on the debian host.&lt;BR /&gt;My /etc/network/interfaces&lt;BR /&gt;-----------------&lt;BR /&gt;# VLAN interface for LAN (VLAN 0)&lt;BR /&gt;auto vlan22&lt;BR /&gt;iface vlan22 inet static&lt;BR /&gt;    address 192.168.168.3&lt;BR /&gt;    netmask 255.255.255.224&lt;BR /&gt;    vlan_raw_device eth0&lt;BR /&gt;&lt;BR /&gt;# VLAN interface for DMZ (VLAN 2)&lt;BR /&gt;auto vlan66&lt;BR /&gt;iface vlan66 inet static&lt;BR /&gt;    address 192.168.166.2&lt;BR /&gt;    netmask 255.255.255.224&lt;BR /&gt;    gateway 192.168.166.1&lt;BR /&gt;    vlan_raw_device eth0&lt;BR /&gt;&lt;BR /&gt;### static routing ###&lt;BR /&gt;    post-up route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.166.1&lt;BR /&gt;    pre-down route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.166.1&lt;BR /&gt;# dns-* options are implemented by the resolvconf package, if installed&lt;BR /&gt;    dns-nameservers 192.168.166.1&lt;BR /&gt;    dns-search kostons.net&lt;BR /&gt;&lt;BR /&gt;# VLAN interface for WLAN2 (VLAN 3)&lt;BR /&gt;auto vlan88&lt;BR /&gt;iface vlan88 inet static&lt;BR /&gt;    address 10.10.10.66&lt;BR /&gt;    netmask 255.255.255.192&lt;BR /&gt;    vlan_raw_device eth0&lt;BR /&gt;-----------------&lt;BR /&gt;&lt;BR /&gt;After reboot the samba server is on al vlans like i want them to be but when I run "apt-get update" on the debian host its not able to reach the internet. Wen I lynx to google.com thats working oke though.&lt;BR /&gt;&lt;BR /&gt;Wen I try to ssh into the debian host from a host on one of the vlans I can't get in.&lt;BR /&gt;Wen I ping the samba system all pings are received and echoed back so no problem there.&lt;BR /&gt;&lt;BR /&gt;I'm at the end of my ideas of what might be the problem I can't reach the Internet and/or can't ssh into the host on port 17. But when i ping Internet hosts it works.&lt;BR /&gt;&lt;BR /&gt;I'm able to lynx to google.com but i'm unable to lynx to &lt;A href="http://www.debian.org." target="_blank"&gt;www.debian.org.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I set static routes and default gateway on the debian samba machine.&lt;BR /&gt;&lt;BR /&gt;Kernel IP routing table&lt;BR /&gt;Destination     Gateway         Genmask         Flags Metric Ref    Use Iface&lt;BR /&gt;192.168.166.0   0.0.0.0         255.255.255.224 U     0      0        0 vlan66&lt;BR /&gt;192.168.168.0   0.0.0.0         255.255.255.224 U     0      0        0 vlan22&lt;BR /&gt;10.10.10.64     0.0.0.0         255.255.255.192 U     0      0        0 vlan88&lt;BR /&gt;0.0.0.0         192.168.166.1   0.0.0.0         UG    0      0        0 vlan66&lt;BR /&gt;&lt;BR /&gt;Samba is reachable on windows network on all vlans but I want the debian host also to be able to update from the Internet and I want to be able to ssh into it. wich I can't right now and don't understand why.&lt;BR /&gt;&lt;BR /&gt;Kind regards, Guido&lt;BR /&gt;</description>
    <pubDate>Sun, 14 Dec 2008 18:08:57 GMT</pubDate>
    <dc:creator>Guido Kostons</dc:creator>
    <dc:date>2008-12-14T18:08:57Z</dc:date>
    <item>
      <title>vlan trunk to debian host, host has trouble with Internet connection</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/vlan-trunk-to-debian-host-host-has-trouble-with-internet/m-p/4322997#M16819</link>
      <description>I have a router (m0n0wall) with 2 nics.&lt;BR /&gt;One nic for wlan the other I use for vlan trunk to port 26 of my Procurve 2626 switch.&lt;BR /&gt;&lt;BR /&gt;I created 3 vlans in router and switch.&lt;BR /&gt;port range 1-8 untagged on vlan22&lt;BR /&gt;port range 9-16 untagged on vlan44&lt;BR /&gt;port range 17-24 untagged on vlan66&lt;BR /&gt;port 26 trunk all vlans to router lan nic&lt;BR /&gt;&lt;BR /&gt;Now I want to use my Samba server and send broadcasts on my 3 vlans. I connected my Debian etch Samba server on switch port 17 and tagged port 17 for all 3 vlans.&lt;BR /&gt;&lt;BR /&gt;Then I configured vlans on the debian host.&lt;BR /&gt;My /etc/network/interfaces&lt;BR /&gt;-----------------&lt;BR /&gt;# VLAN interface for LAN (VLAN 0)&lt;BR /&gt;auto vlan22&lt;BR /&gt;iface vlan22 inet static&lt;BR /&gt;    address 192.168.168.3&lt;BR /&gt;    netmask 255.255.255.224&lt;BR /&gt;    vlan_raw_device eth0&lt;BR /&gt;&lt;BR /&gt;# VLAN interface for DMZ (VLAN 2)&lt;BR /&gt;auto vlan66&lt;BR /&gt;iface vlan66 inet static&lt;BR /&gt;    address 192.168.166.2&lt;BR /&gt;    netmask 255.255.255.224&lt;BR /&gt;    gateway 192.168.166.1&lt;BR /&gt;    vlan_raw_device eth0&lt;BR /&gt;&lt;BR /&gt;### static routing ###&lt;BR /&gt;    post-up route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.166.1&lt;BR /&gt;    pre-down route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.166.1&lt;BR /&gt;# dns-* options are implemented by the resolvconf package, if installed&lt;BR /&gt;    dns-nameservers 192.168.166.1&lt;BR /&gt;    dns-search kostons.net&lt;BR /&gt;&lt;BR /&gt;# VLAN interface for WLAN2 (VLAN 3)&lt;BR /&gt;auto vlan88&lt;BR /&gt;iface vlan88 inet static&lt;BR /&gt;    address 10.10.10.66&lt;BR /&gt;    netmask 255.255.255.192&lt;BR /&gt;    vlan_raw_device eth0&lt;BR /&gt;-----------------&lt;BR /&gt;&lt;BR /&gt;After reboot the samba server is on al vlans like i want them to be but when I run "apt-get update" on the debian host its not able to reach the internet. Wen I lynx to google.com thats working oke though.&lt;BR /&gt;&lt;BR /&gt;Wen I try to ssh into the debian host from a host on one of the vlans I can't get in.&lt;BR /&gt;Wen I ping the samba system all pings are received and echoed back so no problem there.&lt;BR /&gt;&lt;BR /&gt;I'm at the end of my ideas of what might be the problem I can't reach the Internet and/or can't ssh into the host on port 17. But when i ping Internet hosts it works.&lt;BR /&gt;&lt;BR /&gt;I'm able to lynx to google.com but i'm unable to lynx to &lt;A href="http://www.debian.org." target="_blank"&gt;www.debian.org.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I set static routes and default gateway on the debian samba machine.&lt;BR /&gt;&lt;BR /&gt;Kernel IP routing table&lt;BR /&gt;Destination     Gateway         Genmask         Flags Metric Ref    Use Iface&lt;BR /&gt;192.168.166.0   0.0.0.0         255.255.255.224 U     0      0        0 vlan66&lt;BR /&gt;192.168.168.0   0.0.0.0         255.255.255.224 U     0      0        0 vlan22&lt;BR /&gt;10.10.10.64     0.0.0.0         255.255.255.192 U     0      0        0 vlan88&lt;BR /&gt;0.0.0.0         192.168.166.1   0.0.0.0         UG    0      0        0 vlan66&lt;BR /&gt;&lt;BR /&gt;Samba is reachable on windows network on all vlans but I want the debian host also to be able to update from the Internet and I want to be able to ssh into it. wich I can't right now and don't understand why.&lt;BR /&gt;&lt;BR /&gt;Kind regards, Guido&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Dec 2008 18:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/vlan-trunk-to-debian-host-host-has-trouble-with-internet/m-p/4322997#M16819</guid>
      <dc:creator>Guido Kostons</dc:creator>
      <dc:date>2008-12-14T18:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: vlan trunk to debian host, host has trouble with Internet connection</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/vlan-trunk-to-debian-host-host-has-trouble-with-internet/m-p/4322998#M16820</link>
      <description>&lt;!--!*#--&gt;How about like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;auto eth0.22 eth0.66 eth0.88&lt;BR /&gt;iface eth0.22 inet static&lt;BR /&gt;address 192.168.168.3&lt;BR /&gt;netmask 255.255.255.224&lt;BR /&gt;&lt;BR /&gt;auto eth0.66&lt;BR /&gt;iface eth0.66 inet static&lt;BR /&gt;address 192.168.166.2&lt;BR /&gt;netmask 255.255.255.224&lt;BR /&gt;gateway 192.168.166.1&lt;BR /&gt;&lt;BR /&gt;auto eth0.88&lt;BR /&gt;iface eth0.88 inet static&lt;BR /&gt;address 10.10.10.66&lt;BR /&gt;netmask 255.255.255.192&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Dec 2008 11:59:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/vlan-trunk-to-debian-host-host-has-trouble-with-internet/m-p/4322998#M16820</guid>
      <dc:creator>Ari Yrjölä</dc:creator>
      <dc:date>2008-12-16T11:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: vlan trunk to debian host, host has trouble with Internet connection</title>
      <link>https://community.hpe.com/t5/switches-hubs-and-modems/vlan-trunk-to-debian-host-host-has-trouble-with-internet/m-p/4322999#M16821</link>
      <description>Hello Ari YrjÃ¶lÃ¤&lt;BR /&gt;Thank for your message and help&lt;BR /&gt;It did not help though.&lt;BR /&gt;&lt;BR /&gt;With your interfaces config the problem is still the same.&lt;BR /&gt;&lt;BR /&gt;I can ping all hosts on the Internet.&lt;BR /&gt;I can lynx to some sites like google.com but debian.org does not work with lynx.&lt;BR /&gt;Very strange behavior.&lt;BR /&gt;&lt;BR /&gt;Samba is on all 3 vlans that part works with mine and also with your interfaces config.&lt;BR /&gt;&lt;BR /&gt;I stil can't ssh into the debian host and on the debian host I can't "apt-get update".&lt;BR /&gt;&lt;BR /&gt;Wen I "nslookup debian.org" that works normaly too.&lt;BR /&gt;&lt;BR /&gt;Maybe you stil have some other ideas what might be going on? I would be very happy if this problem would be solved.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Dec 2008 19:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/switches-hubs-and-modems/vlan-trunk-to-debian-host-host-has-trouble-with-internet/m-p/4322999#M16821</guid>
      <dc:creator>Guido Kostons</dc:creator>
      <dc:date>2008-12-16T19:33:41Z</dc:date>
    </item>
  </channel>
</rss>

