Kenneth Ng wrote:

> I hv a linux redhat box running vncserver which has two NICs, one has a
> public IP and other has a IP address 192.168.1.1. I was trying to connect to
> another workstation with IP address 192.168.1.90, but fail to connect to the
> server. However, I can connect to any public IP vncserver.

Can you ping 192.168.1.90 from your linux box? If not, it's probably
a routing issue, and you need to add a route to your routing table -
probably:

route add -net 192.168.1.0/255 netmask 255.255.255.0 dev eth1

(assuming eth1 is your internal IP address) - to make this
a permanent change across reboots on Red Hat, you need to edit
/etc/sysconfig/network-scripts/ifcfg-eth1 to something like this:

DEVICE=eth1
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes

-- 
Illtud Daniel                                 [EMAIL PROTECTED]
Uwch Ddadansoddwr Systemau                       Senior Systems Analyst
Llyfrgell Genedlaethol Cymru                  National Library of Wales
Yn siarad drosof fy hun, nid LlGC   -  Speaking personally, not for NLW
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to