LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-09-2004, 02:01 AM   #1
zerounu
LQ Newbie
 
Registered: Mar 2004
Location: Romania
Distribution: Redhat 6.2
Posts: 1

Rep: Reputation: 0
Question about a GRE Tunnel


I have 2 lans and a gre tunnel between them . Connecting to tcp ports works perfectly . But when i try to access a share from lan a to la b nothing happens (i know : shit happens) . What i must do to access network shares from a lan to another lan ?

Thanks in advance !

Last edited by zerounu; 03-09-2004 at 02:02 AM.
 
Old 03-09-2004, 09:04 AM   #2
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 175

Rep: Reputation: 37
NetBIOS name service is filtered by routers

I'm assuming when you say "shares" you mean samba shares. If you mean NFS or Andrew shares this answer is not applicable.

Netbios protocols don't route. The broadcasts that perform name/address translations are filtered by routers such as your GRE tunnel hosts.

Microsoft's NetBEUI gets around this with the concept of the WINS server.

You can make your samba server a WINS server but it doesn't work as automagically as you might hope...

You can:
1) Add entries to your LMHOSTS files on your clients, or

2) make your gateway hosts WINS servers (assuming they are running Samba, that is) and put entries in the LMHOSTS files on those hosts, or

3) reconfigure your tunnel to pass NetBIOS name service broadcasts.


Option 3 is the easiest but burns bandwidth unnecessarily. Option 2 is not real hard if you run your own DHCP services, because you can push the addresses of the WINS servers out to the clients when they get their DHCP leases, but if you are not running your own DHCP you have to tell all the clients where the WINS servers are so it'd be easier to just follow option 1 and put lmhosts files on the clients.

Hope this helped! I have to go to Boston for a couple of weeks so I won't be able to follow up with you any time soon.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 8 12-11-2009 01:56 PM
GRE keepalives. How can a SUSE 9.0 Linux box send GRE keepalives? dlef Linux - Networking 1 06-28-2005 12:00 PM
gre tunnel problem sixone Linux - Networking 3 05-30-2005 11:57 AM
gre ip tunnels and their security antken Linux - Networking 5 09-22-2003 04:08 PM
gre traceroute patch Spowers Linux - General 1 01-06-2002 11:25 AM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration