On 11/28/06, Jeff Dike <[EMAIL PROTECTED]> wrote:
>
> Works here, so can you describe exactly what you did?
>
Ok. So, let's start from the beginning.

1. I configured Multicast networking support into the kernel (version
2.6.18). Full kernel configuration is available at
http://www.tml.tkk.fi/~sjkorpi/uml/mcast-test.config

2. I compiled the kernel and copied it so that in the end I had two
identical kernels, linux and linux2

3. I started both UML instances, this time with just one network
interface (the mcast interface) each:

./linux args ubd0=cow1,/home/samuel/src/uml/uml-fedora/FedoraCore5-AMD64-root_fs
eth0=mcast mem=256M umid=um1 con1=tty:/dev/tty5

./linux2 ubd0=cow2,/home/samuel/src/uml/uml-fedora/FedoraCore5-AMD64-root_fs
eth0=mcast mem=256M umid=um2 con1=tty:/dev/tty6

4. Basic configuration is based on /etc/rc.local:

# setting up networking
ifconfig eth0 192.168.0.2
route add -net 0.0.0.0 gw 192.168.0.1

# mounting host filesystem
mount none /mnt/host -t hostfs

# enabling packet forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward

# disabling rp filtering
echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth1/rp_filter

# enabling martian source logging
echo 1 > /proc/sys/net/ipv4/conf/default/log_martians
echo 1 > /proc/sys/net/ipv4/conf/all/log_martians
echo 1 > /proc/sys/net/ipv4/conf/eth0/log_martians
echo 1 > /proc/sys/net/ipv4/conf/eth1/log_martians

Only the IP address given for eth0 differs between the instances.

5. I brought up the local loop interface: ifconfig lo up (the only
thing this changed is that now I get "Destination Host Unreachable"
when trying to ping the other instance).

dmesg from both instances:

UM1: http://www.tml.tkk.fi/~sjkorpi/uml/dmesg-um1.log
UM1: http://www.tml.tkk.fi/~sjkorpi/uml/dmesg-um2.log

I hope this will give a clue of what the problem is.

/Samuel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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