Jump to content

Recommended Posts

Posted

I have an Allied Telesis AR415S, and I am trying to set it up to route between to subnets "router on a stick".

Allied Telesis tells me to add an ip address to the eth0 port for each subnet, so eth0 10.156.176.15 255.255.240.0

eth0-1 10.106.176.15 255.255.240.0

And thats it there is no more config to do.

Now if I go to PC1 with address 10.156.176.20 and try to ping the 10.106.176.15 port that works fine, but I can not ping or connect to anything else on that address range? except I have a server with to static addesses that is on both ranges and I can ping that?

Help what am I doing wrong? should this work? Thanks

Jack

Posted

Hi no I have not configured any routes or protocols, what would I be looking for? to configure these options. This is were I am getting lost.

I can add the static route, I have tried 10.106.176.0/255.255.240.0 with next hop as the 10.106.176.15 interface but I still can not ping anything.

Posted

You will need a static route for each network so that it knows where to send the packets. If you have only the one static route at the moment the pings will not get back because they will reach the destination but will not know how to get back to the source network as there is no route defined. I am also assuming that you have the clients on each side setup with the router as a default gateway so that the clients know where to send the packets themselves.

 

If this is part of a larger network that included an internet router you may need to add a default route into the router to your internet router to let your AT router pass on the traffic to the internet. You would also need the return routes defined on your internet router if you were to do it this way.

Posted

Hi thanks for the reply,

if I have 10.156.176.15 255.255.240.0 for one interface

and 10.106.176.15 for the second interface, same mask

 

I have 10.156.176.20 as a PC and I have its default gateway as 10.156.176.15,

in the router setup I have for static routes:-

network IP Address

Netmask

Next Hop

interface

what would you expect to enter here to allow the tow networks to ping each other?

Thanks

Posted

I'll show the cisco way as that is what I am more familiar with, I would have each of the networks as a sub interface as using an ip on the primary interface may be over riding the port to only accept that.

 

ip route 10.156.176.15 255.255.240.0 eth0.1

ip route 10.156.176.20 255.255.240.0 eth0.2

 

You may not need to specify the next hop ip if you specify the interface.

 

I would then try pinging a host from the router itself on each subnet to make sure that it could talk to them. If the router includes diagnostic pings then you should be able to specify a source ip for your ping from the opposite interface of the router letting you test routing without involving hosts.

 

I would leave the main interface with no ip and just use two subinterfaces if possible just to make sure that it is not that.

Posted

Hi SYNACK,

Thanks for the help so far, I have added the sub-interfaces as eth0-1 eth0-2 and given them these addresses 10.156.190.245

and 10.106.190.245 they only cable is the eth port on the rouiter which is plugged into one of my switches.

 

I can ping from the router to devices on each network.

I have not figured out how to add the routes with the cli, I will try that tomorow, the Web based GUI is flaky.

If its ok I will repost tomorow with how far I have got?

Thanks

Jack

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...