Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Dec 1997 23:03:00 +0100 (CET)
From:      Jaroslav Klaus <J.Klaus@sh.cvut.cz>
To:        FreeBSD-hackers@FreeBSD.org
Subject:   IP/IPX routing
Message-ID:  <XFMail.971206001656.J.Klaus@sh.cvut.cz>

next in thread | raw e-mail | index | archive | help
Hello,

I have inet/ipx network like this (only fragment):

       II                 I             1 ... Novell 3.12
          |   -------   |               2 ... MS DOS/Win95/WinNT user + NW
-------   |   |     |   |               3 ... my FreeBSD 2.2.2 box
|     |   |   |  2  |---|               4 ... MS DOS/Win95/WinNT user + NW
|  4  |---|   |     |   |   -------     
|     |   |   -------   |   |     |
-------   |             |---|  1  |--> INTERNET
          |   -------   |   |     |
          |   |     |   |   -------     network:
          |---|  3  |---|               I  ... ipx: 337b030
          |   |     |   |                      inet mask: /27
              -------   |               II ... ipx: 337b031
                        |                      inet mask: /30
                 .      |
                 .      |
                 .
BUT look at ed1 MAC address - the same as ed0. What's wrong?

ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 194.108.141.148 netmask 0xffffffe0 broadcast 194.108.141.159
        ipx 337b030.b472aa83 
        ether 00:00:b4:72:aa:83 
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 194.108.141.157 netmask 0xfffffffc broadcast 194.108.141.159
        ipx 337b031.b472aa83 
                    ^^^^^^^^
        ether 00:40:95:13:8f:77 

Explicitly setting gives me an error:
%ifconfig ed1 ipx 337b031.4095138f77
ifconfig: ioctl (SIOCAIFADDR): Invalid argument

Q1: Could I add record to ipx routing table manually (not by IPXrouted)?
Q2: And could I specify record in ipx routing table only for one MAC adress?
Q3: Will machine No.4 be able to attach Novell server No.1 ?
Q4: Is it possible to configure Network II to be also Network I for ipx?
    I want to have only 1 logical segment No. 337b030 (Network I) composed
    of two physical Networks I & II. This will be a time restricted
    configuration for games... (I know all needed MAC address)
Q5: How could I specify gateway by MAC address in inet routing table (like 
    194.108.141.148  0:0:b4:72:aa:83)?

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            194.108.141.129    UGSc       11       45       ed0
127.0.0.1          127.0.0.1          UH          0       67       lo0
194.108.141.128/27 link#1             UC          0        0 
194.108.141.129    0:0:e8:da:e5:fa    UHLW       10        0       ed0   1102
194.108.141.148    0:0:b4:72:aa:83    UHLW        1     4551       lo0
194.108.141.156/30 link#2             UC          0        0 
---
Thank you very much,

Jarda



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.971206001656.J.Klaus>