Ssh error while two interfaces are up simultaneously

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Ssh error while two interfaces are up simultaneously
# 1  
Old 11-26-2012
Ssh error while two interfaces are up simultaneously

hi all,

my system having two interfaces of 172.16.1.232 and 10.250.41.10 and i am using this to establish tunnel to our client network.

eth0=10.250.41.10
eth1=172.16.1.232

I am not able to connect when two interfaces are up


[root@mind-41 ~]# ssh -l avytla 172.16.80.203
ssh: connect to host 172.16.80.203 port 22: No route to host


client ip in remote location: 172.16.80.203

[root@mind-41 ~]# sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456

I am able to connect when one of the local interface is down

[root@mind-41 ~]# ifdown eth1
[root@mind-41 ~]# ssh -l avytla 172.16.80.203
avytla@172.16.80.203's password:


how to resolve this issue, please help me to solve this ASAP.
# 2  
Old 11-26-2012
pls be more specific. Post info like netmasks, routing tables, differences in those when one IF is down. Did you try a traceroute in both cases?
# 3  
Old 11-27-2012
Thanks for the reply...

i have figured it out, issue was with the subnet i changed the range of my system eth1 from 172.16.0.0 to 172.17.0.0 and its working



Thanks
This User Gave Thanks to muzaffar.k For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Network interfaces error

I just ran sudo service networking start on Ubuntu 16.00 and came out with error message Job for networking service failed because control process exited with error code see systemctl status networking.service I tried to also run this command systemctl status networking.service I also got an... (4 Replies)
Discussion started by: DOkuwa
4 Replies

2. Shell Programming and Scripting

Shell script for running simultaneously two interfaces

Hi! I have two environments on a machine and each one has some scripts for checking if some interfaces are down, and if so, it restarts them. The issue now is that i cannot keep both interfaces running, on both environments i see the same process running. How can i modify my scripts in... (4 Replies)
Discussion started by: Jane_Doe
4 Replies

3. Shell Programming and Scripting

Executing multiple ssh commands inside a shell simultaneously

I would like to execute a commands in four different servers through ssh at a single instance(simultaneously). Below are the details with examples, ssh user1@server1 "grep xxxx logs" ssh user1@server2 "grep xxxx logs" ssh user1@server3 "grep xxxx logs" Each statement will take some... (4 Replies)
Discussion started by: Amutha
4 Replies

4. Solaris

Interfaces and Virtual-interfaces queries

Hi Al, In course of understanding networking in Solaris, I have these doubts on Interfaces. Please clarify me. I have done fair research in this site and others but could not be clarified. 1. In the "ifconfig -a" command, I see many interfaces and their configurations. But I see many... (1 Reply)
Discussion started by: satish51392111
1 Replies

5. Shell Programming and Scripting

login to more than one pc (simultaneously) using "ssh"

Hi all, can any one have idea that " how to login to more than one PC (simultaneously) using "ssh" "? (1 Reply)
Discussion started by: kavi.mogu
1 Replies

6. Shell Programming and Scripting

Looping through 2 files simultaneously

Hi all, I'm having a problem with a script which should ultimately provide a filename by reading a value from file1 and file2 then join together. I'm planning to use a loop/ loops to get the values out of both files and create a single string unfortunately the code currently treats the second... (7 Replies)
Discussion started by: chris01010
7 Replies

7. UNIX for Advanced & Expert Users

ssh error: Error reading response length from authentication socket

Hi - I am getting the error `Error reading response length from authentication socket' when I ssh from my cluster to another cluster, and then back to my cluster. It doesn't seem to affect anything, but it's just annoying that it always pops up and tends to confuse new users of the cluster. I... (1 Reply)
Discussion started by: cpp6f
1 Replies

8. UNIX for Dummies Questions & Answers

how to call two programs simultaneously

Hi, i want to call two programs simultaneously from a currently running program so as to distribute the job and fasten the speed. As of now I call the programs one after the other within the main program. e.g. `perl A.pl`; `perl B.pl`; how can I run the two paralelly? urgent ... please... (1 Reply)
Discussion started by: vipinccmb
1 Replies

9. Shell Programming and Scripting

Execution of two jobs simultaneously

Hi All, I have a script and a diff program,(lets say a java program) which needs to be excuted simulaneously. What I am currently doing is excuting one in foregound and the other in the back ground. But as running the job in the background does not always fruitful, especially when the jobs are... (8 Replies)
Discussion started by: rinku11
8 Replies

10. Solaris

Running 2 apaches simultaneously

Hello, I want to run 2 apaches simultaneusly in a system, one operating with port 80 and the other one with 85, i already have the configuration files ready and i tryed something i saw in a manual, like this: first i start apache as normal: /usr/local/etc/httpd/bin/apachectl start the i... (2 Replies)
Discussion started by: sx3v1l_1n51de
2 Replies
Login or Register to Ask a Question