You are not logged in.

#1 2010-06-11 00:34:16

tpolich
Member
Registered: 2009-08-07
Posts: 44

Access a switch

I have a switch (linksys router with dd-wrt wan disabled acting as a switch) connected to a router that goes to the internet. I can get internet just fine and connect to the router but I can never get to the switches web configure screen. My router issues all ip address as 75.102.203.* I have set the switches ip address to 192.168.5.1. I figured then I could use static routing on the router to direct all 192.168.5.1 coming through it to itself but that didn't work to well.

What I want to know is how I would go about taking all requests for 192.168.5.1 and keeping them at the switch rather than going out to the router.

I have been looking at static routing because from my understand that is my best bet but I don't know too much about it.

If anyone could help I would really appreciate it.

Timothy Polich

Offline

#2 2010-06-11 05:57:45

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Access a switch

All devices need to have addresses in the same address range -- static routes won't help if they're in different address space.

Add a temporary IP Address to your computer in the 192.168.5.0/24 address space:

ifconfig eth0:1 192.168.5.2 netmask 255.255.255.0 up

Then you should be able to open the DD-WRT web ui from your computer (and your computer only). Change the address to something in the same address space as the rest of the network.

Offline

Board footer

Powered by FluxBB