LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Question about a GRE Tunnel (https://www.linuxquestions.org/questions/linux-networking-3/question-about-a-gre-tunnel-155277/)

zerounu 03-09-2004 02:01 AM

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 !

Medievalist 03-09-2004 09:04 AM

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.


All times are GMT -5. The time now is 04:52 PM.