Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have a linux box and a win box. i use linux as gateway which has 2 NICs, eth0 and eth1. eth0 is T1 connection to ISP(DHCP), and eth1 configured as 192.168.1.1. Win box as 192.168.1.3
Before i connected 2 machines parellelly to T1 connection(DHCP), didn't use linux as gateway. samba worked. now i couldn't connect to linux from win box.
What is wrong? How can i fix it?
I'm not sure I can make sense of this configuration.
You have eth0 directly connected to your T1?
If so, what was it connected to *before*?
Anyway, I'll have a stab at your problem. I'm assuming you were doing DHCP on *both* machines before, and that now your win2k machine has a private ip it's not working.
In which case - look at your smb.conf and look for the following lines :
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
; hosts allow = 192.168.1. 192.168.2. 127.
Ensure that your hosts allow line has 192.168.1.
in it. If it doesn't it won't allow you to connect.
yes, i can ping linux:eth1 from winbox. and i use linux box as gateway, no problem.
yes, i have that line uncommented.
i even tried:
interfaces = 192.168.1.1/24
and
bind interface only = yes
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.