<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Helvetica, Arial, sans-serif">I'm trying to use vde on
mac. I built it from source and built simh to include vde support.
When I follow </font><font face="Helvetica, Arial, sans-serif"><font
face="Helvetica, Arial, sans-serif"> simh's 0readme-ethernet.txt</font>:<br>
<br>
sudo vde_switch -s /tmp/switch1 -tap tap0 -m 666<br>
sudo ifconfig tap0 192.168.6.1 netmask 255.255.255.0 up<br>
<br>
there are no complaints, and when I run the simulator:<br>
<br>
sim> attach xq vde:/tmp/switch1 #simulator uses IP address
192.168.6.2<br>
<br>
again, no complaints, but then, in 211bsd, I don't get ping
replies from anything other than the ip assigned to the guest in
211bsd.<br>
<br>
This isn't unexpected (nothing other than success would surprise
me at this point), but it does raise several questions (maybe
you're shocked):<br>
<br>
1. in the example above, is 192.168.6.1 referring to any exisitng
ip address in the real network, e.g. the host's ip address?<br>
2. is 192.168.6.2 automatically assigned to the simulator?<br>
3. in the virtual guest (211bsd) what does the default gateway
need to refer to?<br>
4. in the guest, what does the broadcast address need to refer to?<br>
5. in the guest, what does the ip address need to be set to?<br>
<br>
In my fictitious networld, here's the host's configuration:<br>
<br>
Host - macbook<br>
IP Address 192.168.2.13<br>
Gateway 192.168.2.1<br>
Broadcast 192.168.2.255<br>
<br>
All I think I am trying to do is get the guest to ping yahoo.com.
My understanding, once I get the vde thingy going, is that I can
configure the network in 211bsd by modifying:<br>
<br>
/etc/hosts (to assign the guest ip address - although why this
should work is a mystery to me, I though this was just for mapping
names to addresses, but apparently in v7, it is more than this...<br>
<br>
/etc/netstart to assign hostname, default gateway, and broadcast<br>
/etc/resolv.conf to assign dns servers<br>
<br>
</font><font face="Helvetica, Arial, sans-serif">My current plan
(need some input on values)<br>
</font><br>
<font face="Helvetica, Arial, sans-serif"><font face="Helvetica,
Arial, sans-serif">sudo vde_switch -s /tmp/switch1 -tap tap0 -m
666<br>
sudo ifconfig tap0 <<SOMEIP>> netmask 255.255.255.0
up<br>
<br>
in /etc/hosts<br>
<<ANOTHERIP>> sparky sparky.home <br>
</font><br>
in /etc/netstart<br>
hostname=sparky<br>
netmask=255.255.255.0<br>
broadcast=<<YETANOTHERIP>><br>
default=<<MAYBESOMEIP>><br>
<br>
and in /etc/resolv.conf<br>
domain home.local<br>
nameserver 208.67.222.222 <br>
nameserver 208.67.220.220 <br>
<br>
So, what goes in SOMEIP (dunno what to call this), ANOTHERIP (the
guests IP), YETANOTHERIP (broadcast), and MAYBESOMEIP (the
gateway)?<br>
<br>
<br>
Thanks,<br>
<br>
Will<br>
<br>
</font>--
<pre class="moz-signature" cols="72">GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF</pre>
</body>
</html>