Sponsored Content
Operating Systems Linux Interesting challenge getting SSH from outside to my VMWare guest Post 302469125 by brightstorm on Thursday 4th of November 2010 08:17:14 PM
Old 11-04-2010
Hello Pludi,

Thank you very much for your time!

After a closer inspection I realised that I received "martians" in my /var/log/warn. Having absolutely no idea what it meant, I googled it without being much wiser.

I then realised I had a problem with my routes since I couldn't resolve any DNS or ping the outside world.

I found that a static route was missing, so after issuing

Code:
route add -net 0.0.0.0 gw 192.168.1.1 br0

Which made my route look much better

Code:
ivmsles01:/var/log # ip route sh
192.168.1.0/24 dev br0  proto kernel  scope link  src 192.168.1.77 
127.0.0.0/8 dev lo  scope link 
default via 192.168.1.1 dev br0

I got back on track, the martians went back to Mars and after a bit of firewalling, my server responded nicely to external hosts as well on SSH.

I'm really sorry that I didn't really do my homework completely before crying out for help - if you get to Denmark some day, I'll buy you a beer for your trouble Smilie

Last edited by brightstorm; 11-05-2010 at 01:00 PM.. Reason: changed "ip route add" to "route add" which is the correct command
 

9 More Discussions You Might Find Interesting

1. Solaris

unable to connect to solaris guest in vmware

hi All, I require your help and suggestion in this. I have a solaris 10 (guest) installed on a vmware and my host OS is windows 2003 server. i am trying to conenct to the solaris 10 from my local Pc through putty, but unable to connect. please advice what setup or prerequitsites are required to... (4 Replies)
Discussion started by: bathija
4 Replies

2. Virtualization and Cloud Computing

Cmd to start guest in VMware server 2.0

Is there any command in VMware Server 2.0 to poweron/start the guests like we have vmware-cmd ESX server 3.5 .. (1 Reply)
Discussion started by: fugitive
1 Replies

3. Red Hat

ssh connection keep disconected , how to find way? in CentOs vmware

Hello i have CentOS installed on vmware , few days ago every thing was working fine. today every time im connect with putty to the CentOs server after few minutes it disconnect me , how can i find what is the reason ? (5 Replies)
Discussion started by: umen
5 Replies

4. UNIX for Dummies Questions & Answers

VMware Solaris Guest - How do I boot from CD?

Hello, I have a Solaris 10 x86 VM and I am trying to access the Solaris install menu. I have the ISO set to connect on startup, and I can see that it is mounted in my system. But when I power on the VM, the GRUB menu comes up and I only have the option of booting Solaris. Also I have... (4 Replies)
Discussion started by: bstring
4 Replies

5. Ubuntu

[Solved] Ssh and scp between two vmware Ubuntu

Hello, Please, I would like to connect a VM to another: I typed as follows: ssh root@192.168.1.4 root@192.168.1.4 's password: Permission denied, please try again. root@192.168.1.4 's password: Permission denied, please try again. root@192.168.1.4 's password: Permission denied... (6 Replies)
Discussion started by: chercheur111
6 Replies

6. UNIX for Advanced & Expert Users

Interesting awk/Perl/sed parsing challenge

I have a log with entries like: out/target/product/imx53_smd/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8HTMLVideoElement.cpp : target thumb C++: libwebcore <=... (8 Replies)
Discussion started by: glev2005
8 Replies

7. Solaris

Solaris x86 guest in vmware workstation

I swear I have no other devices on the vmnet 192.168.142.2, but after I configured one of the solaris x86 os, I kept getting warning ..node xx xxxxx have our ip addresss 192.168.142.2, and it scrolled thru it forever .. I tried to boot it into single user mode , still having the same issue.. ... (1 Reply)
Discussion started by: ppchu99
1 Replies

8. Shell Programming and Scripting

Anyone like a challenge?

I have searched through google, and this forum to try and find the answer, but alas, nothing quite hits the whole answer. I am trying to read the last line (or lines) of some log files. I do this often. The files are named sequentially, using the date as part of the file name, and appending... (18 Replies)
Discussion started by: BatterBits
18 Replies

9. UNIX for Dummies Questions & Answers

Configure network connectivity as guest O.S under vmware

Hi! I am not sure if this is the right place to post this question. What I did was to download vmware onto my laptop, them install a linux distro as a guest O.S., on VM network configuration I have used "bridge", them I used Virtual Network Editor to chose the network interface, but as I write... (4 Replies)
Discussion started by: fretagi
4 Replies
ROUTE.CONF(5)						      BSD File Formats Manual						     ROUTE.CONF(5)

NAME
route.conf -- static routes config file DESCRIPTION
The route.conf file is read by the staticroute rc.d script during system start-up and shutdown, and is intended for adding and removing static routes. FILE FORMAT Lines starting with a hash ('#') are comments and ignored. Lines starting with a plus sign ('+') are run during start-up, while lines start- ing with a minus sign ('-') are run during system shutdown. If a line starts with a '!', the rest of the line will get evaluated as a shell script fragment. All other lines are passed to route(8). During start-up, they are passed behind a ``route add -'' command and during shut- down behind a ``route delete -'' command. FILES
/etc/route.conf The route.conf file resides in /etc. /etc/rc.d/staticroute rc.d(8) script that parses route.conf. EXAMPLES
In this example, the interface for the desired routing changes is set, the IP address on that interface is determined, and a route is added during startup, or deleted during system shutdown. # Set interface and determine current IP address for added route. !ifname=bnx0 !ipaddr=$(/sbin/ifconfig ${ifname} | awk '$1 == "inet" {print $2}') net 10.10.1 -interface ${ipaddr} In this example, IP forwarding is turned on during start-up, and a static route added for 192.168.2.0. During system shutdown, the route is removed and IP forwarding turned off. # Turn on/off IP forwarding. +sysctl -w net.inet.ip.forwarding=1 -sysctl -w net.inet.ip.forwarding=0 net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2 SEE ALSO
rc.conf(5), rc(8), route(8) BSD
May 1, 2012 BSD
All times are GMT -4. The time now is 12:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy