LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-05-2010, 07:07 AM   #1
realcrispychicken
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
Routing Problem on local device


Hi Folks,

i ve got a strange problem.
I ve got a machine with 3 eth devices.
eth0 192.168.0.250
eth1 192.168.100.251
eth2 142.11.97.1

When I ssh to localhost, i can see last login from localhost.
When I ssh to 192.168.100.251 i can see last login from 192.168.100.251
The same applies to 142...

But when I ssh to 192.168.0.250, last login is from 142...!

I need to change that, because every software which localy use 192.168.0.250, thinks i am connecting from 142... and refuses my request.How does this come. how could i change that ?!

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
142.11.97.0 * 255.255.255.192 U 0 0 0 eth2
192.168.100.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 141.11.97.62 0.0.0.0 UG 100 0 0 eth2


Thanks a lot !
 
Old 10-05-2010, 12:23 PM   #2
Nemesiz
Member
 
Registered: Oct 2007
Posts: 47

Rep: Reputation: 2
You are trying to connect from the same machine or from outside? Last login show you last but not actual connection address
 
Old 10-06-2010, 02:19 PM   #3
realcrispychicken
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
I am trying to connect from the local mashine. I know it show the last login, always trieed it twice to see the actual one.

I just dont know why, when i localy connect to 192.68.100.251 he recognizes me as 192.168.100.251, but when i localy connect to 192.168.0.250 he thinks i am coming from 142.11.97.1 and not from 192.168.0.250 what it should be supposed to!
 
  


Reply



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
local/ international routing for squid aeby Linux - Server 2 06-30-2009 08:47 AM
port based routing for local traffic houska Linux - Networking 2 05-24-2009 07:10 AM
PPTP local routing tmchardy Linux - Networking 3 03-07-2006 04:13 PM
Routing Local Packets qs_tahmeed Linux - Networking 1 11-16-2005 10:30 PM
Aargh!!! Not routing to local subnet sancho5 Linux - Networking 5 02-10-2004 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:13 AM.

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
Open Source Consulting | Domain Registration