LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-23-2004, 09:20 PM   #1
itrap2003
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Need help creating routing table on linux


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.

Please help, what should I do??
 
Old 06-23-2004, 09:57 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
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.
 
Old 06-23-2004, 10:58 PM   #3
itrap2003
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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 ...
 
Old 06-24-2004, 04:23 AM   #4
ipvl
LQ Newbie
 
Registered: Jun 2004
Location: Tomsk, Russia
Distribution: ASP Linux 9.0, RedHat 9.0, FreeBSD 4.8-
Posts: 16

Rep: Reputation: 0
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" ?
 
Old 06-25-2004, 01:54 PM   #5
itrap2003
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 06-25-2004, 10:18 PM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
routing table arvind kumar Linux - Networking 2 06-09-2005 12:59 AM
Help with a Routing Table maginotjr Linux - Networking 4 06-06-2005 10:49 AM
Pls. Help -- about routing table swmok Linux - Networking 3 08-17-2004 01:25 PM
Linux Routing Table Zepiroth Linux - Networking 11 01-28-2004 02:29 AM
routing table upr8830 Linux - Networking 6 06-18-2003 04:04 AM


All times are GMT -5. The time now is 01:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration