Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesThursday, April 18, 2024
Navigation
Home
Articles
Downloads
Hobby Wear
FAQ
Forums
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Search
Users Online
Guests Online: 8
No Members Online

Registered Members: 7,708
Newest Member: nifseg
Sponsors
Island Computer
View Thread
OpenVMS Hobbyist Program | VAX Systems Forums | Emulated VAX Forum
Author Network Configuration help
njmorto
Member

Posts: 6
Joined: 28.10.16
Posted on April 04 2017 05:30
Hello all,

After working with 7.3 in Windows with simH I decded to do the same with Ubuntu Linux.

However, I've run into an issue I can't seem to get sorted out.

For the life of me I can't get networking up and going. I've tried using DHCP (which my network supports) and I've tried giving the VAX a static IP.

Haven't had any luck with either situation. If it helps the Ubuntu host can browse the internet without any issues.

I tried running the script from 0readme_ethernet.text
I've tried connecting it without the bridge created in the above text

Just can't seem to get the traffic moving

Any help would be greatly appreciated!

Thanks

Nathan
Author RE: Network Configuration help
malmberg
Moderator

Posts: 530
Joined: 15.04.08
Posted on April 05 2017 16:23
https://sourceforge.net/p/vms-ports/wiki/SimH-VAX%20in%20a%20Container/

Works with Ubuntu 14.04.

Did not work with Ubuntu 16.04 because Ubuntu requires privileged containers specify the capabilities (privileges) that they need, but at the time Ubuntu 16.04 did not ship a new enough libvirt version allow specifying those capabilities.
Author RE: Network Configuration help
behemoth
Member

User Avatar

Posts: 9
Joined: 25.11.22
Posted on November 25 2022 16:33
Linux/SIMH4/Microvax 3900

Make a bridge, and stuff your external interface into the bridge. This should be possible with your startup scripts. If not, do it now. Then, create TUN/TAPs for any SIMH install(s) you want. Forward on the bridge using sysctl params and masq the private address space.

# Masquerade all rfc1918 ipv4 addresses
iptables -t nat -A POSTROUTING -m comment --comment "Masquerade all rfc1918 addresses" -s 192.168.0.0/16 -j MASQUERADE
ip link add name br0 type bridge
ip tuntap add dev tap0 mode tap
ip link set br0 type bridge stp_state 1
ip link set dev tap0 master br0
# Make more TAPs if you need them





If you use DHCP from your ISP, call that on the bridge for your global IP4 address. Set (also) a private address on the bridge (br0), such as 192.168.20.1. Set any TAP master to the bridge. In your SIMH .ini file, set the DECNET lladdr to correspond with your node number. Up the TAP. Start SIMH. You might have to pause SIMH and reattach the TAP. Once it works, continue. @NETCONFIG for DECNET (leeaving out DECNET config because you did not ask for that). For TCPIP, @TCPIP$CONFIG. Enable BIND client. @TCPIP$IP6_SETUP. If you can get an ip6 bank, you can use radvd for RA on the bridge.


# radvd.conf
# Bridge
interface br0 {
AdvSendAdvert on;
# DNS servers to use.
# Google's
# RDNSS 2001:4860:4860::8888 2001:4860:4860::8844 {

# OpenDNS's
RDNSS 2620:0:ccc::2 2620:0:ccd::2 {
};

# Some ISPs want these
AdvManagedFlag on;
AdvOtherConfigFlag on;

# The prefix you're serving.
# This prefix is gotten from 'dhclient -6 -v -P $EXT_INTERFACE'
prefix xxxx:70xx:6xxx:a711::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};





SYS$SYSTEM:MODPARAMS.DAT needs fixing; make sure INTSTKPAGES=20. Example:


SCSNODE="TEOSTR"
SCSSYSTEMID=1037
VAXCLUSTER=0
WINDOW_SYSTEM=1
INTSTKPAGES=20
ADD_GBLPAGES=10000
ADD_GBLSECTIONS=100
ADD_NPAGEDYN=800000
ADD_NPAGEVIR=800000
MIN_SPTREQ=6000




Set static routes, give your SIMH VMS host a private IP such as 192.168.20.2. Set nameservers.

$ tcpip
TCPIP> SET NAME_SERVICE /SERVER=208.67.222.222 /enable /system

$! Some config files and stuff for networking can go in tcpip$etc

$ tcpip show interface
Packets
Interface IP_Addr Network mask Receive Send MTU

LO0 127.0.0.1 255.0.0.0 0 0 4096
QE0 192.168.20.2 255.255.255.0 26405 14 1500
$ tcpip show route

DYNAMIC

Type Destination Gateway

AN 0.0.0.0 192.168.20.1
AH 127.0.0.1 127.0.0.1
AN 192.168.20.0/24 192.168.20.2
AH 192.168.20.2 192.168.20.2

$ mc TCPIP$IFCONFIG -a
LO0: flags=100c89<UP,LOOPBACK,NOARP,MULTICAST,SIMPLEX,NOCHECKSUM>
inet 127.0.0.1 netmask ff000000 ipmtu 4096
inet6 ::1

QE0: flags=c43<UP,BROADCAST,RUNNING,MULTICAST,SIMPLEX>
inet 192.168.20.2 netmask ffffff00 broadcast 192.168.20.255 ipmtu 1500
inet6 fe80::a800:12f:5e10:d43

TN0: flags=80<NOARP>

$ show net

Product: DECNET Node: TEOSTR Address(es): 1.13
Product: TCP/IP Node: teostr.lan Address(es): 192.168.20.2


# ip -c addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000
link/ether 6c:4b:90:15:7c:1a brd ff:ff:ff:ff:ff:ff
inet6 fe80::6e4b:90ff:fe17:7c1d/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 60:11:b3:5f:a3:bf brd ff:ff:ff:ff:ff:ff
inet 192.168.30.1/24 brd 192.168.30.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 xxxx:7080:603a:axxx::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::6114:b1ff:fe6f:a3bf/64 scope link
valid_lft forever preferred_lft forever
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 5c:4b:95:17:7c:2d brd ff:ff:ff:ff:ff:ff
inet xx.xx.xx.68/19 brd 255.255.255.255 scope global dynamic noprefixroute br0
valid_lft 60628sec preferred_lft 49828sec
inet 192.168.20.1/24 brd 192.168.20.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::614b:71f1:fa17:7c1d/64 scope link
valid_lft forever preferred_lft forever
5: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 92:79:8b:86:95:90 brd ff:ff:ff:ff:ff:ff
6: tap1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 06:2e:1c:2e:93:fb brd ff:ff:ff:ff:ff:ff
7: tap2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 85:03:09:27:aa:51 brd ff:ff:ff:ff:ff:ff
8: tap3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000
link/ether 9b:46:75:e9:0e:a9 brd ff:ff:ff:ff:ff:ff
inet6 fe80::9c11:75ab:fee9:ea9/64 scope link
valid_lft forever preferred_lft forever






$ mc tcpip$dig ipv6.google.com aaaa

; <<>> DiG 8.1 <<>> ipv6.google.com aaaa
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;; ipv6.google.com, type = AAAA, class = IN

;; ANSWER SECTION:
ipv6.google.com. 1W IN CNAME ipv6.l.google.com.
ipv6.l.google.com. 5M IN AAAA 2607:f8b0:4009:819::200e

;; Total query time: 60 msec
;; FROM: teostr.lan to SERVER: default -- 208.67.222.222
;; WHEN: Thu Nov 24 02:28:30 2022
;; MSG SIZE sent: 33 rcvd: 82






Some addresses fudged for privacy reasons.



88A5 F7B4 06BF 9C81 744D 5785 7B21 C783 99C8 6100
http://digitalsr.i2p/
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?

Yes

No

You must login to vote.
Shoutbox
You must login to post a message.

malmberg
August 04 2022
No more VAX hobbyist licenses. Community licenses for Alpha/IA64/X86_64 VMS Software Inc. Commercial VMS software licenses for VAX available from HPE.

ozboomer
July 20 2022
Just re-visiting.. No more hobbyist licenses? Is that from vmssoftware.com, no 'community' licenses?

valdirfranco
July 01 2022
No more hobbyist license...sad

mister_wavey
February 12 2022
I recall that the disks failed on the public access VMS systems that included Fafner

parwezw
January 03 2022
Anyone know what happened to FAFNER.DYNDS.ORG? I had a hobbyist account here but can longer access the site.

gtackett
October 27 2021
Make that DECdfs _2.1A_ for Vax

gtackett
October 27 2021
I'm looking for DECdfs V2.4A kit for VAX. Asking here just in case anyone is still listening.

MarkRLV
September 17 2021
At one time, didn't this web site have a job board? I would love to use my legacy skills one last time in my career.

malmberg
January 18 2021
New Hobbyist PAKs for VAX/VMS are no longer available according to reports. Only commercial licenses are reported to be for sale from HPE

dfilip
January 16 2021
Can someone please point me to hobbyist license pak? I'm looking for VAX/VMS 7.1, DECnet Phase IV, and UCX/TCPIP ... have the 7.1 media, need the license paks ... thanks!

Bart
October 16 2020
OpenVMS, and this website!

malmberg
September 05 2020
VSI community non-commercial licenses for AXP/IA64 are available now.

malmberg
September 05 2020
See the forum about licensing. Don't know if HPE hobby licenses still being issued. Commercial licenses still being sold.

silfox70
September 01 2020
I need the license for OpenVMS7.3. Where can I find them?

malmberg
August 29 2020
Eisner, which is currently being moved, got an SSH update and the keys were updated to more modern encryption standards.

Shoutbox Archive