`tcpdump -vvvi tap0`
Yep, I'll try that tonight. Gotta go now.
You bridged tap0 to your external interface, right?
No. In fact, that's the whole point - to keep HECnet traffic off of my
real Ethernet.
tap0 is connected to only two things - Johnny's bridge, and QNA-1 (xqb on
simh). QNA-0 (xq on simh) is connected to my physical Ethernet. VMS sees
both and, if necessary, routes DECnet across them.
Bob
Recent simh versions no longer need any external program to work with tap
devices.
Mark -
I was just looking at this. Looks like in simh you now say
attach xq tap:tap0
What does that do that
attach xq tap0
does not? Does the first one make simh create the tap device? That doesn't
really help in this case - the problem is that I need to run Johnny's bridge
on tap0 too, so it needs to already exist before I start simh. tunctl is
still the only answer.
Thanks,
Bob
On Sun, 10 Nov 2013, Bob Armstrong wrote:
`ifconfig <interface> promisc`
That's too easy :-)
Sadly, it doesn't seem to fix anything. Both the bridge and simh are
connected to tap0, apparently w/o error, but no messages seem to be going
anywhere.
`tcpdump -vvvi tap0`
You bridged tap0 to your external interface, right?
Bob
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
`ifconfig <interface> promisc`
That's too easy :-)
Sadly, it doesn't seem to fix anything. Both the bridge and simh are
connected to tap0, apparently w/o error, but no messages seem to be going
anywhere.
Bob
I know that I've seen a patch to simh in the past,
to connect to HECnet directly from simh,
Yep, I've seen that too, although I don't know the current status. Maybe
Mark can put it in the production simh release ? In the meantime, the tap
device solves the problem just fine (or at least it used to).
Bob
On Sun, 10 Nov 2013, Bob Armstrong wrote:
Try setting the interfaces promiscuous.
Ummm, what's the magic command to do that?
`ifconfig <interface> promisc`
Bob
--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
Recent simh versions no longer need any external program to work with tap
devices.
I saw that - simh v3.9, I think. I'm still using 3.8-3 (I have some local
patches that I don't want to redo just yet).
It's a good suggestion, but the fact is that the old simh worked just fine
with Ubuntu 10.04 - it's the upgrade to 12.04 that broke things.
Bob
Mark, I don't think Bob suggested he used some special program to connect simh to a tap device.
What he did was use my bridge to connect his machines to HECnet, which is a step on the other side of the tap device.
By the way, Bob, I know that I've seen a patch to simh in the past, to connect to HECnet directly from simh, without the addition of the bridge program. Maybe something to use?
Johnny
On 2013-11-10 18:53, Mark Pizzolato - Info Comm wrote:
Hi Bob,
Recent simh versions no longer need any external program to work with
tap devices. There is integrated support for tap devices, and there
also is support for the more generic vde networking capabilities. The
latest source is available at:
https://github.com/simh/simh/archive/master.zip
To build on Ubuntu 12.0.4 the first time, as root you may need to:
# apt-get install libpcap-dev
# apt-get install libvdeplug2-dev
Then as a normal user:
$ make vax
-Mark
*From:*owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] *On
Behalf Of *Bob Armstrong
*Sent:* Sunday, November 10, 2013 9:08 AM
*To:* hecnet at Update.UU.SE
*Subject:* [HECnet] HECnet bridge and tun/tap problems on Ubuntu 12.04 ...
It s not exactly a DEC problem, but I know there are several people
on HECnet running simh under Linux and I m hoping somebody has already
figured this one out.
I used to run simh (vax and pdp11 both) under Ubuntu 10.04 using
Johnny s bridge program and a tap device to connect to HECnet.
sudo tunctl -t tap0
sudo ifconfig tap0 up
sudo -b /usr/local/bin/hecnet-bridge 4711
the bridge.conf file (I ll post it if anybody wants) bridges tap0 with
Psilo.update.uu.se and in simh I would say
set xqb enabled
attach xqb tap0
and it worked great. Everybody was happy :-)
BUT, now I ve upgraded to Ubuntu 12.04 (Ok, I m not an early
adopter!) and, as you might guess, it doesn t work anymore. No errors
and the tap0 device looks OK
bob at falsetto:~/legato$ ifconfig tap0
tap0 Link encap:Ethernet HWaddr c6:36:37:eb:16:7a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 B) TX bytes:0 (0.0 B)
but nothing ever happens. No data seems to pass between the bridge
program and simh.
Is anybody else using Ubuntu? Did you run into this problem?
Thanks,
Bob
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Hi Bob,
Recent simh versions no longer need any external program to work with tap devices. There is integrated support for tap devices, and there also is support for the more generic vde networking capabilities. The latest source is available at: https://github.com/simh/simh/archive/master.zip
To build on Ubuntu 12.0.4 the first time, as root you may need to:
# apt-get install libpcap-dev
# apt-get install libvdeplug2-dev
Then as a normal user:
$ make vax
- Mark
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Bob Armstrong Sent: Sunday, November 10, 2013 9:08 AM To: hecnet at Update.UU.SE Subject: [HECnet] HECnet bridge and tun/tap problems on Ubuntu 12.04 ...
It s not exactly a DEC problem, but I know there are several people on HECnet running simh under Linux and I m hoping somebody has already figured this one out.
I used to run simh (vax and pdp11 both) under Ubuntu 10.04 using Johnny s bridge program and a tap device to connect to HECnet.
sudo tunctl -t tap0
sudo ifconfig tap0 up
sudo -b /usr/local/bin/hecnet-bridge 4711
the bridge.conf file (I ll post it if anybody wants) bridges tap0 with Psilo.update.uu.se and in simh I would say
set xqb enabled
attach xqb tap0
and it worked great. Everybody was happy :-)
BUT, now I ve upgraded to Ubuntu 12.04 (Ok, I m not an early adopter!) and, as you might guess, it doesn t work anymore. No errors and the tap0 device looks OK
bob at falsetto:~/legato$ ifconfig tap0
tap0 Link encap:Ethernet HWaddr c6:36:37:eb:16:7a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 B) TX bytes:0 (0.0 B)
but nothing ever happens. No data seems to pass between the bridge program and simh.
Is anybody else using Ubuntu? Did you run into this problem? Thanks,
Bob