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.
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.
|
 |
10-16-2005, 11:39 AM
|
#1
|
Member
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74
Rep:
|
Routing table query
Hi all,
Briefly
I have a Dlink router/adsl (10.1.1.1/255.0.0.0) modem which is providing DHCP to all but one machine on the network.
The static machine is 10.1.1.2/255.0.0.0. Eventually I'll be forwarding quite a bit of stuff to this machine.
It's running Fedora Core 3 and I have installed apt, but apt hangs with (10.0.0.0) after first connecting line.
route -n shows
Destination Gateway GenMask Flags Metric ref Use Iface
169.254.0.0. 0.0.0.0 255.255.0.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth0
route changes the lastline to
default mygateway1.ar7 0.0.0.0 etc, etc.....
None of the addresses above make much sense to me. And although the network / internet are working ... apt isn't and I'm not entirely happy with weird IPs appearing, nor the mygateway1.ar7 'domian' which I did not set up. Any help, or indications of what is going on, greatly appreciated.
Regards
Mick
|
|
|
10-16-2005, 12:00 PM
|
#2
|
Member
Registered: Sep 2005
Posts: 115
Rep:
|
why is your mask 255.0.0.0? Shouldn't it be 255.255.255.0?
|
|
|
10-16-2005, 08:18 PM
|
#3
|
Member
Registered: Jul 2002
Location: Sydney
Distribution: Kubuntu Edgy
Posts: 74
Original Poster
Rep:
|
Hi debianmike!
it's an A class network address, 255.0.0.0. C Class network addresses use the 255.255.255.0 subnet mask.
|
|
|
11-05-2005, 11:11 AM
|
#4
|
Member
Registered: Sep 2005
Posts: 115
Rep:
|
yes, i understand that, but do you plan on having 255 subnets? or what ever a class A give's you?
you say 10.1.1.1 is one machine and 10.1.1.2 is another...you are using a class A, but are defining each machine with only 1 octet.
I'm not a master of networking, but that is what I think is wrong...mask it so only the last octet defines the host, not the last 3 octets.
|
|
|
All times are GMT -5. The time now is 02:32 AM.
|
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
|
|