Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-11-2004, 09:48 PM
|
#1
|
|
Member
Registered: Apr 2004
Location: AL, USA
Distribution: FC4, Gentoo
Posts: 58
Rep:
|
No DNS after sharing net connection
Hey
I have a wifi router and an extra computer shares a connection with my wifi capable computer.
So in drawing:
Router --WiFi --> Comp A --Crossover--> Comp B
Only problem is Comp B has no DNS :/
My ISP's DNS servers are dynamically assigned, and Comp A looks to my router for DNS resolution. I pointed Comp B to the router, but it doesn't work. I pointed Comp B to Comp A (all devices tried); doesn't work... Comp B can ping Internet IP's though, and can ping any machine on my network... so I'm wondering if there's something extra I need to do with the routing tables, IP masquerading (I can't think of why though) to get my DNS to work... here are some IP's for reference...
Router: 192.168.0.1
range: 192.168.0.100 - 192.168.0.199
Comp A:
ath0 (wifi): 192.168.0.111 (DHCP)
eth0 (crossover): 192.168.1.1
Comp B:
eth0: 192.168.1.100
|
|
|
|
08-11-2004, 09:53 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|
Can't you use same values for nameserver (in /etc/resolv.conf) for computer B as you use for other computers?
|
|
|
|
08-11-2004, 09:59 PM
|
#3
|
|
Member
Registered: Apr 2004
Location: AL, USA
Distribution: FC4, Gentoo
Posts: 58
Original Poster
Rep:
|
Well.. that was my reasoning. My other computer is set to 192.168.0.1 but that doesn't work for some reason...
I can ping 192.168.0.1 from Comp B, so it seems as if I would be able to use it as a DNS server too...
|
|
|
|
08-11-2004, 10:03 PM
|
#4
|
|
Member
Registered: Mar 2004
Location: NY
Distribution: Red Hat 9 [Kernel 2.6.6-1.435]
Posts: 72
Rep:
|
Hi,
I believe, u will have to run a dns server on comp A and set ur name server resolution on comp B point to comp A.
Correct me guys if im wrong........................
|
|
|
|
08-11-2004, 10:07 PM
|
#5
|
|
Member
Registered: Apr 2004
Location: AL, USA
Distribution: FC4, Gentoo
Posts: 58
Original Poster
Rep:
|
Heh... I was afraid of that...
I read about it and it seems that was the only solution that I could find on the Internet..
I guess I'll set it up for the time being, just for less tedious web browsing.
Thanks for the suggestions all! 
|
|
|
|
08-12-2004, 02:43 AM
|
#6
|
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
why not use an external server like secondarydns.org as ComputerB's nameservers. That will save the need to install and run a caching dns server.
|
|
|
|
08-12-2004, 08:11 AM
|
#7
|
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|
Again,
what is wrong with just copying /etc/resolv.conf from comp A to comp B? It doesn't work? Are you sure the router(192.168.0.1) working as a dns server? Then you have some routing problem with your udp packages.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|