Frederik Vanrenterghem
2001-Oct-06 12:40 UTC
2 computers, different IP class, problems connecting
Hi, I've got a Linux box with IP 10.67.27.44 (through DHCP via cablemodem on WAN) and a Windows 98 laptop which doesn't get an IP from the DHCP server, so it's IP is fixed as 192.168.1.2. On the linux box, i've done ifconfig eth0:1 192.168.1.1 and also added a route: route add -net 192.168.1.0 netmask 255.255.255.0 eth0 Situation: I can mount a windows share on the Linux box, but not the other way round. From Linux, I can ping 192.168.1.2, but from Windows I can't ping 192.168.1.1, only 10.67.27.44. This might not be an immediate samba-issue, but I was hoping someone on this list has been in a similar situation before... Thanks for all help, and please CC replies to me since I'm not subscribed. -- Frederik Vanrenterghem | Q: How does a hacker fix a function frederik@maui.kotnet.org | which doesn't work for all of the GPG Fingerprint: | elements in its domain? 966B 0E4B 25C1 CC04 E2CB | 8D4C 117F 6469 8925 BDE0 | A: He changes the domain. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 240 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20011006/d03afb4d/attachment.bin
Have you added the second ip to your /etc/hosts file on the linux box? Here is my /etc/hosts from a router (internal). Joel ==================================# The loopback device. It should always be available. # 127.0.0.1 localhost # # Your first IP interface (if you are connected to any kind of network) # 192.168.0.6 jhammer6.jhammer.org jhammer6 # # Your second IP interface (normally for routers only) # 192.168.1.6 ================================== On Sat, Oct 06, 2001 at 09:42:09PM +0200, Frederik Vanrenterghem wrote:> Hi, > > I've got a Linux box with IP 10.67.27.44 (through DHCP via cablemodem on > WAN) and a Windows 98 laptop which doesn't get an IP from the DHCP > server, so it's IP is fixed as 192.168.1.2. > > On the linux box, i've done ifconfig eth0:1 192.168.1.1 and also added a > route: route add -net 192.168.1.0 netmask 255.255.255.0 eth0 > > Situation: I can mount a windows share on the Linux box, but not the > other way round. From Linux, I can ping 192.168.1.2, but from Windows I > can't ping 192.168.1.1, only 10.67.27.44. > > This might not be an immediate samba-issue, but I was hoping someone on > this list has been in a similar situation before... > > Thanks for all help, and please CC replies to me since I'm not > subscribed. > > > -- > Frederik Vanrenterghem | Q: How does a hacker fix a function > frederikOmaui.kotnet.org | which doesn't work for all of the > GPG Fingerprint: | elements in its domain? > 966B 0E4B 25C1 CC04 E2CB | > 8D4C 117F 6469 8925 BDE0 | A: He changes the domain.