Bluehost.com Web Hosting $6.95

[Samba] Hostname not visible across 2 subnets

This is a discussion on [Samba] Hostname not visible across 2 subnets within the Samba forums, part of the Networking and Network Related category; Hi, I have the following network: ---------- |Internet| ---------- | -------------------- --------------------- |Wireless Modem |- ))----((- |'admin' on DHCP | | on 10.0.0.* | | --------------------- -------------------- | ---------------------- | -(( |'client1' on DHCP | |wired ---------------------- | -------------------- |...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-20-2008
Dave Coventry
 
Posts: n/a
Default [Samba] Hostname not visible across 2 subnets

Hi,

I have the following network:

----------
|Internet|
----------
|
-------------------- ---------------------
|Wireless Modem |- ))----((- |'admin' on DHCP |
| on 10.0.0.* | | ---------------------
-------------------- | ----------------------
| -(( |'client1' on DHCP |
|wired ----------------------
|
--------------------
|Wireless Router | ----------------------
| on 192.168.0.* |- ))----((- |'client2' on DHCP |
-------------------- ----------------------

I hope the above diagram is not TOO mangles...

For example, if 'admin' has been allocated the ip 10.0.0.6.

I can ping 10.0.0.6 from both 'client1' and 'client2'
I can ping 'admin' from 'client1' but 'client2' says 'could not find host'

In other words, the hostname 'admin' only gets resolved on the 10.0.0.* subnet.
Any computer on the 192.168.0.* subnet can 'see' 'admin's' ip, but not
the hostname 'admin'.
The Admin computer is running Ubuntu Hardy, The Clients are running XP.

Can I remedy this through Samba with WINS? Or do I need to set up a DNS on the
'admin' machine?
Simplest option, of course would be set set up 'admin' as a static ip.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #2 (permalink)  
Old 06-20-2008
L.P.H. van Belle
 
Posts: n/a
Default RE: [Samba] Hostname not visible across 2 subnets

Hi,

this is not samba but routing info you need.


if possible to add a second lan ip on the Wireless router,
add ip 10.0.0.99 for example.

then router has access to modem, and client2 is able to connect to wireless
modem.

Louis


>-----Oorspronkelijk bericht-----
>Van: samba-bounces+belle=bazuin.nl@lists.samba.org
>[mailto:samba-bounces+belle=bazuin.nl@lists.samba.org] Namens
>Dave Coventry
>Verzonden: vrijdag 20 juni 2008 14:40
>Aan: samba@lists.samba.org
>Onderwerp: [Samba] Hostname not visible across 2 subnets
>
>Hi,
>
>I have the following network:
>
>----------
>|Internet|
>----------
> |
> -------------------- ---------------------
>|Wireless Modem |- ))----((- |'admin' on DHCP |
>| on 10.0.0.* | | ---------------------
> -------------------- | ----------------------
> | -(( |'client1' on DHCP |
> |wired ----------------------
> |
> --------------------
>|Wireless Router | ----------------------
>| on 192.168.0.* |- ))----((- |'client2' on DHCP |
> -------------------- ----------------------
>
>I hope the above diagram is not TOO mangles...
>
>For example, if 'admin' has been allocated the ip 10.0.0.6.
>
>I can ping 10.0.0.6 from both 'client1' and 'client2'
>I can ping 'admin' from 'client1' but 'client2' says 'could
>not find host'
>
>In other words, the hostname 'admin' only gets resolved on the
>10.0.0.* subnet.
>Any computer on the 192.168.0.* subnet can 'see' 'admin's' ip, but not
>the hostname 'admin'.
> The Admin computer is running Ubuntu Hardy, The Clients are
>running XP.
>
>Can I remedy this through Samba with WINS? Or do I need to set
>up a DNS on the
>'admin' machine?
>Simplest option, of course would be set set up 'admin' as a static ip.
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: https://lists.samba.org/mailman/listinfo/samba
>


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #3 (permalink)  
Old 06-23-2008
Michael Heydon
 
Posts: n/a
Default Re: [Samba] Hostname not visible across 2 subnets

L.P.H. van Belle wrote:
> Hi,
>
> this is not samba but routing info you need.
>
>
> if possible to add a second lan ip on the Wireless router,
> add ip 10.0.0.99 for example.
>
> then router has access to modem, and client2 is able to connect to wireless
> modem.
>
> Louis
>

This isn't quite right, he said that he could ping admin from client2 by
ip but not by name which means he does have routing up and running
between the two networks but no name resolution on the second network.
>
>
>
>>
>> Hi,
>>
>> I have the following network:
>>
>> ----------
>> |Internet|
>> ----------
>> |
>> -------------------- ---------------------
>> |Wireless Modem |- ))----((- |'admin' on DHCP |
>> | on 10.0.0.* | | ---------------------
>> -------------------- | ----------------------
>> | -(( |'client1' on DHCP |
>> |wired ----------------------
>> |
>> --------------------
>> |Wireless Router | ----------------------
>> | on 192.168.0.* |- ))----((- |'client2' on DHCP |
>> -------------------- ----------------------
>>
>> I hope the above diagram is not TOO mangles...
>>
>> For example, if 'admin' has been allocated the ip 10.0.0.6.
>>
>> I can ping 10.0.0.6 from both 'client1' and 'client2'
>> I can ping 'admin' from 'client1' but 'client2' says 'could
>> not find host'
>>
>> In other words, the hostname 'admin' only gets resolved on the
>> 10.0.0.* subnet.
>>

The fact that you have any name resolution at all using ping means you
already have a functioning DNS server (assuming the machine isn't in a
hosts file somewhere).
>> Any computer on the 192.168.0.* subnet can 'see' 'admin's' ip, but not
>> the hostname 'admin'.
>> The Admin computer is running Ubuntu Hardy, The Clients are
>> running XP.
>>
>> Can I remedy this through Samba with WINS? Or do I need to set
>> up a DNS on the
>> 'admin' machine?
>> Simplest option, of course would be set set up 'admin' as a static ip

A static IP wouldn't actually solve the problem unless you then go put
it in each client's hosts file (which gets annoying quite quickly). If
you only want samba too work and don't care about being able to
ping/ssh/telnet/http to a name then WINS will be fine. If you want an
all round solution you need DNS. The upside is that you already have DNS
(as mentioned above) so you can point client2 at the DNS server on the
admin network, you might be able to set the DHCP server on the client2
network to do this automatically.

*Michael Heydon - IT Administrator *
michaelh@jaswin.com.au <mailto:michaelh@jaswin.com.au>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0