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.
Since I am not sure under what subject does my question goes I am posting it here. I have an old linux machine with a wireless client card. I am assigning a static IP address to the machine 10.0.1.5.
I have a subnet 10.0.0.0 with an access point having IP address 10.0.0.1. I am interested in making this access point default router for 10.0.1.5. Since its on different subnect everytime I try to issue route command, I get Network unreachable error.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Simple, assign 10.0.0.5 to your Linux machine, that is by far the easiest solution.
The other alternatives would be on your wireless access point to set the subnet mask to 255.255.254.0 (instead of 255.255.255.0) and do the same on your Linux box.
Thanks chort, finally I got some response which doesn't ask me to read linux manual or search for solution to similar problem online.
You are right, I can do any of those things you suggested.
In fact by default that machine was getting dynamic ip address by the DHCP running on access point. I am interested in assigning a different IP address to this machine because I am trying to create a scenario of a subnet 10.0.0.0 and some machine outside this subnet which only knows about the access point.
I know its a wierd network setup ... but I have limited hardware and I need two subnets to test working of my application.
Any suggestions ...
Distribution: ASP Linux 9.0, RedHat 9.0, FreeBSD 4.8-
Posts: 16
Rep:
Quote:
Originally posted by itrap2003 Thanks chort, finally I got some response which doesn't ask me to read linux manual or search for solution to similar problem online.
You are right, I can do any of those things you suggested.
In fact by default that machine was getting dynamic ip address by the DHCP running on access point. I am interested in assigning a different IP address to this machine because I am trying to create a scenario of a subnet 10.0.0.0 and some machine outside this subnet which only knows about the access point.
I know its a wierd network setup ... but I have limited hardware and I need two subnets to test working of my application.
Any suggestions ...
maybe you need to switch access point to "bridge mode" ?
I am not able to configure bridge on the access point ... brctl command required for the configuration is not available and I dont know how can i get it installed. Also as i was skimming through the how-to manual I got a feeling that bridging only works when you have machine with 2 interfaces.
Please help me out ... is there another way for my wireless machine to talk with another subnet.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Your access point is not a router, so this is not going to work. Please familiarize yourself with IP networking to understand why your situation is unworkable. People gave you the only answers that will work and you rejected them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.