[LARTC] Help with gre tunneling

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1A599.5BADBCEC
Content-Type: text/plain;
	charset="iso-8859-1"

The short answer would be yes, but there are lots and lots of details.  
 
Now that your GRE tunnel is up and running, switch your thinking to
look at it from Windows' point of view.  From Windows' point of view,
the GRE tunnel is really a router.  So you have LAN A connected to
a router, across a WAN, to LAN B.  Your Windows PCs have no
clue that there is a GRE tunnel in-between.  All they know is, their
default gateway is the internal IP address of the firewall/router you
set up.  Well, maybe not their default gateway, but at least they 
have a route to the LAN on the other side of the tunnel.
 
So what do we need with Windows so that PCs in LAN A can
browse (Network Neighborhood) shares offered by computers in
LAN B?  Assuming Windows 9x, we need a way for NetBIOS name 
resolution that doesn't depend on broadcasts, so that means you'll 
need a WINS server in both LAN A and LAN B.  You'll want to set 
up the WINS servers as push/pull replication partners so they both 
have up to date copies of which systems are where.  And you'll need
to set up your PCs as NBT node type 8 (I think).  This is the hybrid,
where PCs first try to resolve names by asking a WINs server and then
try a broadcast if that doesn't work.  
 
You could also use local lmhosts files for NetBIOS name resolution,
but let's not even go there.
 
If you have a Win2000 domain and all Win2000 clients, then the rules
are different.  In this case, you'll need DNS servers instead of WINS
servers.  
 
Conceptually, the point is, you need some way to do name resolution
on both ends of your tunnel to make this work.  
 
You will want to set up some kind of Win NT or Win 2000 domain 
structure that makes sense, or you will want some kind of 
workgroup structure that makes sense.  So let's say the PCs in
LAN A are all members of a workgroup named LANAWG.  If you
make a PC in LAN B a member of the LANAWG workgroup, and
you have name resolution that works, then that LAN B PC should
be able to browse its Network Neighborhood and see the shares
offered by PCs in the LANAWG workgroup, no matter which side
of the tunnel they are on.
 
This all assumes that the Windows PCs do their jobs properly.
 
- Greg Scott
 
 

-----Original Message-----
From: glynn [mailto:glynn@itextron.com]
Sent: Friday, January 25, 2002 4:07 AM
To: lartc@mailman.ds9a.nl
Subject: [LARTC] Help with gre tunneling


Hello everyone. is it possible to browse the network neigborhood if i tunnel
to a remote site ? if its possible how? 
 
 
 
Best regards,
Glynn


------_=_NextPart_001_01C1A599.5BADBCEC
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>The 
short answer would be yes, but there are lots and lots of details.&nbsp; 
</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>Now 
that your GRE tunnel is up and running, switch your thinking 
to</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>look 
at it from Windows' point of view.&nbsp; From Windows' point of 
view,</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>the 
GRE tunnel is really a router.&nbsp; So you have LAN A connected 
to</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>a 
router, across a WAN, to LAN B.&nbsp; Your Windows PCs have 
no</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>clue 
that there is a GRE tunnel in-between.&nbsp; All they know is, 
their</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>default gateway is the internal IP address of the firewall/router 
you</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>set 
up.&nbsp; Well, maybe not their default gateway, but at least they 
</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>have a 
route to the LAN on the other side of the tunnel.</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>So 
what do we need with Windows so that PCs in LAN A can</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>browse 
(Network Neighborhood) shares offered by computers in</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>LAN 
B?&nbsp; Assuming Windows 9x,&nbsp;</FONT></SPAN><SPAN 
class=140165011-25012002><FONT face=Arial color=#0000ff size=2>we need a way for 
NetBIOS name </FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>resolution that </FONT></SPAN><SPAN class=140165011-25012002><FONT 
face=Arial color=#0000ff size=2>doesn't depend on broadcasts, so that means 
you'll </FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>need a 
WINS </FONT></SPAN><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>server in both LAN A and LAN B.&nbsp; You'll want to set 
</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>up the 
WINS </FONT></SPAN><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>servers as push/pull&nbsp;replication partners so they both 
</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>have 
up </FONT></SPAN><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>to date copies of which systems are where.&nbsp; And you'll 
need</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>to set 
up your PCs as NBT node type 8 (I think).&nbsp; This is the 
hybrid,</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>where 
PCs first try to resolve names by asking a WINs server and 
then</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>try a 
broadcast if that doesn't work.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>You 
could also use local lmhosts files for NetBIOS name 
resolution,</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>but 
let's not even go there.</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002></SPAN>&nbsp;</DIV></FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>If you 
have a Win2000 domain and all Win2000 clients, then the 
rules</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>are 
different.&nbsp; In this case, you'll need DNS servers instead of 
WINS</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>servers.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>Conceptually, the point is, you need some way to do name 
resolution</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>on 
both ends of your tunnel to make this work.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>You 
will want to set up some kind of Win NT or Win 2000 domain </FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>structure that makes sense, or you will want some kind of 
</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>workgroup structure that makes sense.&nbsp; So let's say the PCs 
in</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>LAN A 
are all members of a workgroup named LANAWG.&nbsp; If you</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>make a 
PC in LAN B a member of the LANAWG workgroup, and</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>you 
have name resolution that works, then that LAN B PC should</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>be 
able to browse its Network Neighborhood and see the shares</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2>offered by PCs in the LANAWG workgroup, no matter which 
side</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>of the 
tunnel they are on.</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>This 
all assumes that the Windows PCs do their jobs properly.</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff size=2>- Greg 
Scott</FONT></SPAN></DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140165011-25012002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> glynn 
  [mailto:glynn@itextron.com]<BR><B>Sent:</B> Friday, January 25, 2002 4:07 
  AM<BR><B>To:</B> lartc@mailman.ds9a.nl<BR><B>Subject:</B> [LARTC] Help with 
  gre tunneling<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Hello everyone. is it possible to browse the 
  network neigborhood if i tunnel to a remote site ? if its possible how? 
  </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
  <DIV><FONT face=Arial size=2>Glynn</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C1A599.5BADBCEC--


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux