Discussion:
How add router to cable modem?
(too old to reply)
Wolfi
2007-02-14 17:10:43 UTC
Permalink
I'm afraid it's just too long now, for me to still remember exactly, what has
do be done where in respect to the network configuration and hence am in need
of some help :-[

In my W4 FP16 system I have a 3com 3C509B ISA NIC, which so far was connected
directly to the cable modem. Now I wanted to add a Linksys BEFSR41V2 router,
but couldn't even access the router's setup page at 192.168.1.1.

My previous Protocol.ini looked like this (there is an additional 3C59x combo
for a currently unused local BNC based network):
[PROT_MAN]
DRIVERNAME = PROTMAN$

[IBMLXCFG]
tcpip_nif = tcpip.nif
EL59XIO2_nif = EL59XIO2.NIF
EL3IBMO2_nif = el3ibmo2.nif

[tcpip_nif]
DriverName = TCPIP$
Bindings = EL59XIO2_nif,EL3IBMO2_nif

[EL59XIO2_nif]
DriverName = EL59X$
MaxTransmits = 40

[EL3IBMO2_nif]
DriverName = ELNK3$
MaxTransmits = 20

My first obstacle is to figure out in the Java based TCP/IP Config notebook,
which LAN interface actually corresponds to which physical NIC. Where/how do I
find for sure the mapping?
Since currently only LAN interface 0 is set active, I have to assume, that
this is the 3C509B serving the cable modem. On the Network tab I activated
'automatically with DHCP' but am not sure about the following 2 sub-options
"use previous DHCP ....' and 'DDNS'.
On the following Routing tab I added a default route, pointing to the router's
IP 192.168.1.1 and left the node # at the default 0.

Unfortunately that doesn't give me access to the router at all.
So what did I still miss or do wrong?

Is there not also a Net Stop/Start xyz command to activate changes made by the
TCPIP Config notebook or is there really no way around a reboot after each change?

Does anyone know about an online source/file, describing in detail the basics
of OS/2 networking? The accompanying online books don't seem to be of much
help, unless one already knows exactly what to do.
Jim Moe
2007-02-14 22:25:21 UTC
Permalink
Post by Wolfi
In my W4 FP16 system I have a 3com 3C509B ISA NIC, which so far was connected
directly to the cable modem. Now I wanted to add a Linksys BEFSR41V2 router,
but couldn't even access the router's setup page at 192.168.1.1.
To (initially) access the router you must set your PC to an IP address
in the same subnet as the router, <192.168.1.xxx>, say 192.168.1.2.
There is usually no need to reboot to do this. Just edit
<x:/mptn/bin/setup.cmd> to set the IP address.
For instance if your NIC is bound to lan0:
change ifconfig lan0 192.168.x.y netmask 255.255.255.0
to ifconfig lan0 192.168.1.2 netmask 255.255.255.0
and run <setup.cmd>.
After changing the router's IP address and other parameters to suit your
needs, change <setup.cmd> back to its original setting, or set it for DHCP.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Wolfi
2007-02-14 23:11:27 UTC
Permalink
Post by Jim Moe
Post by Wolfi
In my W4 FP16 system I have a 3com 3C509B ISA NIC, which so far was connected
directly to the cable modem. Now I wanted to add a Linksys BEFSR41V2 router,
but couldn't even access the router's setup page at 192.168.1.1.
To (initially) access the router you must set your PC to an IP address
in the same subnet as the router, <192.168.1.xxx>, say 192.168.1.2.
There is usually no need to reboot to do this. Just edit
<x:/mptn/bin/setup.cmd> to set the IP address.
change ifconfig lan0 192.168.x.y netmask 255.255.255.0
to ifconfig lan0 192.168.1.2 netmask 255.255.255.0
and run <setup.cmd>.
After changing the router's IP address and other parameters to suit your
needs, change <setup.cmd> back to its original setting, or set it for DHCP.
Thanks Jim,

but now I'm slightly confused. According to my setup.cmd (see below), lan0
appears to be the currently not used 3C59x PCI card for the previously used
BNC based LAN (which historically also would make sense, since that one was
the first one, the 3c509B ISA card for the cable modem came a feww years
later), while lan1 must be the ISA card, at the moment still being directly
connected to the cable modem.
So what would I have to change how, to take advantage of the routers built-in
dhcp server? According to its manual, the router defaults to 192.168.1.1 and
its DHCP server being enabled.

route -fh
arp -f
ifconfig lo 127.0.0.1
ifconfig lan0 192.168.9.1 netmask 255.255.255.0 metric 1 mtu 1500
REM ifconfig lan2 metric 1 mtu 1500
REM ifconfig lan3 metric 1 mtu 1500
REM ifconfig lan4 metric 1 mtu 1500
REM ifconfig lan5 metric 1 mtu 1500
REM ifconfig lan6 metric 1 mtu 1500
REM ifconfig lan7 metric 1 mtu 1500
dhcpstrt -d 0 -i lan1
ipgate off
Jim Moe
2007-02-15 07:33:55 UTC
Permalink
Post by Wolfi
So what would I have to change how, to take advantage of the routers built-in
dhcp server? According to its manual, the router defaults to 192.168.1.1 and
its DHCP server being enabled.
route -fh
arp -f
ifconfig lo 127.0.0.1
ifconfig lan0 192.168.9.1 netmask 255.255.255.0 metric 1 mtu 1500
dhcpstrt -d 0 -i lan1
The contents of <c:/ibmcom/lantran.log> would be helpful.
It may be that you are receiving an IP address from the router. It is
just not useful to you.
To gain access to the router to program it
change dhcpstrt -d 0 -i lan1
to ifconfig lan0 192.168.1.2 netmask 255.255.255.0
and run <setup.cmd>.
One of the things to change on the router is the subnet to offer DHCP
leases. The default is 192.168.1.0. Change that subnet value to one that
is correct for your environment.
After programming is complete, set lan1 back to dhcp.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Loading...