Only looked briefly, but your tap interfaces do not seem to have an IP 
host side...

Antoine

Brendan McNally wrote:
> Hi
>
> Really hope you can help me out with this, networking has been a real 
> problem for me with UML.  Can't get SSH or ping to connect from either 
> side.
>
> Brendan
>
> Guest;
> [EMAIL PROTECTED] ~]# ifconfig eth0 192.168.0.253 up
> [EMAIL PROTECTED] ~]# route add default gw 192.168.0.254
> [EMAIL PROTECTED] ~]# ssh [EMAIL PROTECTED]
> ssh: connect to host 192.168.50.101 port 22: No route to host
> [EMAIL PROTECTED] ~]# ping 192.168.50.101
> PING 192.168.50.101 (192.168.50.101) 56(84) bytes of data.
> >From 192.168.0.253 icmp_seq=1 Destination Host Unreachable
> >From 192.168.0.253 icmp_seq=2 Destination Host Unreachable
> >From 192.168.0.253 icmp_seq=3 Destination Host Unreachable
>
> --- 192.168.50.101 ping statistics ---
> 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 
> 3023ms
> , pipe 3
> [EMAIL PROTECTED] ~]#
>
>
>
> Host;
> [EMAIL PROTECTED]:/home/brendan# ssh [EMAIL PROTECTED]
> ssh: connect to host 192.168.0.253 port 22: No route to host
> [EMAIL PROTECTED]:/home/brendan# ping 192.168.0.253
> PING 192.168.0.253 (192.168.0.253) 56(84) bytes of data.
> >From 192.168.0.254 icmp_seq=1 Destination Host Unreachable
> >From 192.168.0.254 icmp_seq=2 Destination Host Unreachable
> >From 192.168.0.254 icmp_seq=3 Destination Host Unreachable
>
> --- 192.168.0.253 ping statistics ---
> 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 
> 3007ms
> , pipe 3
> [EMAIL PROTECTED]:/home/brendan#
>
>
>
> Jay Shah wrote:
>> Did you check if you could ping the host machine. If you can, but
>> can't ping the world, check if your IP Masquerading is on. E.g.
>>
>> iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
>>
>> Jay
>>
>> On Thu, Apr 17, 2008 at 4:53 PM, Antoine Martin <[EMAIL PROTECTED]> wrote:
>>   
>>> Brendan,
>>>
>>> You're not explaining what doesn't work....
>>> Have you tried pinging, traceroute, tcpdump, etc..
>>>
>>> Cheers
>>> Antoine
>>>
>>>
>>>
>>>
>>>
>>>
>>> Brendan McNally wrote:
>>>     
>>>> Hi All
>>>>
>>>> I am having major problems getting my UML sessions networked
>>>> correctly.  Can someone please review my configuration or suggest a
>>>> solution?  It's really getting to me!
>>>>
>>>> Thanks
>>>> Brendan
>>>>
>>>> Host: 192.168.50.101 <http://192.168.50.101>
>>>> GW: 192.168.50.1 <http://192.168.50.1>
>>>>       
>>>> Network Setup on hosts;
>>>> tunctl
>>>> tunctl -b
>>>> tunctl -u root -t umlserver
>>>> tunctl -d tap0
>>>> ifconfig umlserver 192.168.0.254 <http://192.168.0.254> up
>>>> route add -host 192.168.0.253 <http://192.168.0.253> dev umlserver
>>>>       
>>>> echo 1 > /proc/sys/net/ipv4/ip_forward
>>>> echo 1 > /proc/sys/net/ipv4/conf/umlserver/proxy_arp
>>>> arp -Ds 192.168.0.253 <http://192.168.0.253> eth0 pub
>>>>       
>>>> [EMAIL PROTECTED]:/home/brendan/test# ifconfig -a
>>>> eth0      Link encap:Ethernet  HWaddr 00:0A:E4:AC:19:57
>>>>           inet addr:192.168.50.101 <http://192.168.50.101>
>>>> Bcast:192.168.50.255 <http://192.168.50.255>  Mask:255.255.255.0
>>>> <http://255.255.255.0>
>>>>       
>>>>           inet6 addr: fe80::20a:e4ff:feac:1957/64 Scope:Link
>>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>>           RX packets:3914 errors:0 dropped:0 overruns:0 frame:0
>>>>           TX packets:4213 errors:0 dropped:0 overruns:0 carrier:0
>>>>           collisions:0 txqueuelen:1000
>>>>           RX bytes:320456 (312.9 KB)  TX bytes:631413 (616.6 KB)
>>>>           Interrupt:20 Base address:0x6000
>>>>
>>>> eth1      Link encap:Ethernet  HWaddr 00:14:A5:34:14:26
>>>>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>>           TX packets:702 errors:0 dropped:0 overruns:0 carrier:0
>>>>           collisions:0 txqueuelen:1000
>>>>           RX bytes:0 (0.0 b)  TX bytes:29484 (28.7 KB)
>>>>           Interrupt:11
>>>>
>>>> lo        Link encap:Local Loopback
>>>>           inet addr:127.0.0.1 <http://127.0.0.1>  Mask:255.0.0.0
>>>> <http://255.0.0.0>
>>>>       
>>>>           inet6 addr: ::1/128 Scope:Host
>>>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>>>           RX packets:328 errors:0 dropped:0 overruns:0 frame:0
>>>>           TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
>>>>           collisions:0 txqueuelen:0
>>>>           RX bytes:40509 (39.5 KB)  TX bytes:40509 (39.5 KB)
>>>>
>>>> tap0      Link encap:Ethernet  HWaddr 00:FF:2E:A0:F3:47
>>>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>>>           RX packets:9 errors:0 dropped:0 overruns:0 frame:0
>>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>>           collisions:0 txqueuelen:500
>>>>           RX bytes:594 (594.0 b)  TX bytes:0 (0.0 b)
>>>>
>>>> tap1      Link encap:Ethernet  HWaddr 00:FF:F4:AA:CA:DE
>>>>           BROADCAST MULTICAST  MTU:1500  Metric:1
>>>>           RX packets:9 errors:0 dropped:0 overruns:0 frame:0
>>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>>           collisions:0 txqueuelen:500
>>>>           RX bytes:594 (594.0 b)  TX bytes:0 (0.0 b)
>>>>
>>>> umlserver Link encap:Ethernet  HWaddr 00:FF:7C:1D:9C:82
>>>>           inet addr:192.168.0.254 <http://192.168.0.254>
>>>> Bcast:192.168.0.255 <http://192.168.0.255>  Mask:255.255.255.0
>>>> <http://255.255.255.0>
>>>>       
>>>>           inet6 addr: fe80::2ff:7cff:fe1d:9c82/64 Scope:Link
>>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>>           TX packets:0 errors:0 dropped:35 overruns:0 carrier:0
>>>>           collisions:0 txqueuelen:500
>>>>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>>>
>>>>
>>>>
>>>>
>>>> Start command;
>>>> /vmlinux-server ubda=Fedora7-server_fs mem=128M umid=umlserver
>>>> eth0=tuntap,tap0
>>>>
>>>>
>>>> Guest Setup;
>>>> ifconfig eth0 192.168.0.253 <http://192.168.0.253> up
>>>> route add default gw 192.168.0.254 <http://192.168.0.254>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>>> Don't miss this year's exciting event. There's still time to save $100.
>>>> Use priority code J8TL2D2.
>>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> User-mode-linux-user mailing list
>>>> User-mode-linux-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>>>>
>>>>       
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>> Don't miss this year's exciting event. There's still time to save $100.
>>> Use priority code J8TL2D2.
>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>>> _______________________________________________
>>> User-mode-linux-user mailing list
>>> User-mode-linux-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>>>
>>>     
>>
>>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> ------------------------------------------------------------------------
>
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to