• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Replaced a NIC, clobbered my network

Started by wivard113, 2008.02.25, 19:41:40

Previous topic - Next topic

wivard113

Hi all,

Pulling my hair out - I am running eCS1.2, using Injoy Firewall.  Had a 3com (lan1) and a linksys (lan0)  NIC, and have two networks in my home, 192.168.1.x and 10.67.1.x.  These both ran across the linksys nic, using an 'ifconfig alias' command.  The 3Com went to my cable modem.  All was good, network shares worked, http worked between my home machines just fine.

I retired the 3com NIC, replaced it with the linksys nic (lan1 in current setup), and added a RTL8169 Gbcard as lan0.  Now, no TCP packets will go between the networks.  traceroute between them works fine, all machines can trace a path to all other machines in my house.  But, I cannot SSH, nor access internal webpages.  All machines can access resources on the Internet without issue, and I even got the speedup I was looking for (3Com card seemed a bit flaky after 8 years) - but at the cost of my internal connectivity.

I've tried many different routing suggestions, rebooted everything, but to no avail.  Since the only update was to the eCS box, I know my mistake has to be there.  Can you take a peek at this info, and tell me what I missed?

my \mptn\bin\setup.cmd:
route -fh
arp -f
ifconfig lo 127.0.0.1
ifconfig lan0 10.67.1.1 netmask 255.255.255.0 metric 0 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 -i lan1
ifconfig lan0 alias 192.168.1.1 netmask 255.255.255.0 metric 0 mtu 1500

rem route add -net 192.168.1.0 10.67.1.1 -netmask 255.255.255.0 -hopcount 1
rem dhcpstrt -i lan1
rem route add -net 192.168.1 127.0.0.1 -netmask 255.255.255.0 -hopcount  0
rem route add -net 10.67.1.0 10.67.1.1 -netmask 255.255.255.0 -hopcount
ipgate on

===============================
my protocol.ini:
[PROT_MAN]

   DRIVERNAME = PROTMAN$

[IBMLXCFG]

   tcpbeui_nif = tcpbeui.nif
   tcpip_nif = tcpip.nif
   FXWRAP_nif = fxwrap.nif
   RTGNDA_nif = rtgnda.nif
   LNE100_nif = LNE100.nif

[NETBIOS]

   DriverName = netbios$
   ADAPTER0 = tcpbeui$,0

[tcpbeui_nif]

   DriverName = tcpbeui$
   Bindings = RTGNDA_nif
   NODETYPE = "B-Node"
   OS2TRACEMASK = 0x0
   SESSIONS = 130
   NCBS = 225
   NAMES = 21
   SELECTORS = 15
   USEMAXDATAGRAM = "NO"
   NETBIOSTIMEOUT = 500
   NETBIOSRETRIES = 2
   NAMECACHE = 1000
   PURGECACHE = 0
   PRELOADCACHE = "NO"
   NAMESFILE = 3
   DATAGRAMPACKETS = 20
   PACKETS = 50
   ENABLEDNS = 0
   INTERFACERATE = 300

[tcpip_nif]

   DriverName = TCPIP$
   Bindings   = RTGNDA_nif,FXWRAP_nif

[RTGNDA_nif]

   DriverName = RTGNDA$

[LNE100_nif]

   DriverName = LNE100$
   Slot = 1
   MEDIA = "AUTODETECT"

[FXWRAP_nif]

   Drivername = FXWRAP1$
   Bindings   = LNE100_nif

=============================
Thanks in advance,
David

Andi

Please read on ecomstation.ru about the RTL8169. I've played with the same driver and a 8111B chip since months but do have various problems with it. A few days ago Eugene answered me 'We have spent many monthes for testing. Conclusion: this driver is unusable'.

Maybe you better do not spent much time with this driver but using another card instead. I don't know if Genmac supports this chip, but maybe this would be a solution too.