You are not logged in.
Pages: 1
My connection to the internet is through an adsl modem to a service provider. This modem is connected to a wireless router, Linksys WRT54G
In the configuration file /etc/rc.conf of my laptop's Arch setup - I've forgotten to edit the gateway address and keep it at its defaulted 192.168.0.1
However, today I've install Arch in my desktop and (I actually remembered) edit the gateway address to 192.168.1.1
Both my laptop and desktop can access the internet , though the gateway address is different.
How is this possible ?
To confuse myself further, I've access the router through firefox keying in the address 192.168.1.1 (that's why I think the gateway should be 192.168.1.1) and got to this page which tells me that the gateway address is actually 10.0.0.2.
So, what is the REAL gateway address and how can I find it?
I'd read the faq
and the wiki
then the guides
and went googling, before posting here
Offline
Your gateway should be your router's IP in your situation.
Is there a reason you're trying to statically input the gateway address? DHCP should do it for you.
http://wiki.archlinux.org/index.php/Con … or_DHCP_IP
Offline
Your gateway should be your router's IP in your situation.
Is there a reason you're trying to statically input the gateway address? DHCP should do it for you.
http://wiki.archlinux.org/index.php/Con … or_DHCP_IP
Nope, no actual reason to try to statically input the gateway addess
only thing is - in the default installation /etc/rc.conf, the gateway is stated as
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
So when I installed it in my desktop , when I saw that the address is "wrong", I updated it to 192.168.1.1 to "correct" it.
Any idea which is the correct gateway address? or maybe how to find out which is the correct address?
I'd read the faq
and the wiki
then the guides
and went googling, before posting here
Offline
That '!' tells you that the gateway setting is *not* being used. It can be anything - it's just a template for people that need to use static IP config.
Offline
Maybe the 10.0.0.x networt is your isp network and the gateway 10.0.0.2 is in the ISP servers. SO the correct gateway for your LAN will be your router address: 192.168.1.1
Offline
deleted
Last edited by Misbah (2012-02-14 04:44:11)
Offline
My guess from the screen shot is that you have a separate Modem and Router?
If that's the case, then you are actually running 2 networks:
1) Your LAN (192.168.1.x)
2) Between the Router and Modem (10.x.x.x)
So when one of your clients on the LAN tries to connect to google.com, it makes the request to the router, the router routes it through to the modem, then the modem on to your ISP.
The IP's need to be different on each 'side' of the router, otherwise it won't be able to work out what's where and how to route
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Is your modem actually a router with an ADSL modem in it?
It seems that your linksys is configured to dhcp, you should be able to configure your computer in a number of ways:
- use 192.168.1.1 as your gateway (and let your linksys route your packets to its default gateway, 10.0.0.2)
- reconfigure your computer to the 10.0.0.0/24 network with 10.0.0.2 gateway (use linksys only as a wireless bridge)
- use dhcp and let the routers decide your ip and gateway
Hope it helps
DkSoul
Offline
Pages: 1