background image

14

The “ifconfig” alone displays information about the active 

interfaces. Entering “ifconfig <interface name>” shows information 
about a certain interface. An information about interface’s IP address, 
number of packets and bytes send and received, number of transmission 
errors and other important data is displayed..

An IP address may be assigned to an interface, together with 

subnet mask and broadcast address. A dynamic ARP may also be 
enabled or disabled.

The “bridge” parameter allows to include or exclude certain 

protocol from bridging, when the router works in the bridge mode.

3.3.12.

ipchains

The command is used to control the firewall and the network 

address translation (NAT, called also “masquerade” - that is giving a 
network an access to the Internet using only one real IP address). 

¡

ipchains add

adds an entry at the end of the list

¡

ipchains insert

- adds an entry at the beginning of the list

¡

ipchains del

- removes an entry

¡

ipchains list

displays current settings

¡

ipchains flush

removes all entries from the list

After the “add”, “insert” or “del” option following parameters 

should be given:

¡

-s

 <source subnet>/<netmask> [port range]

Defines the source addresses which this entry concerns. If this 

parameter is omitted, then the entry concerns all source addresses.

¡

-d

 <destination subnet>/<netmask> [port range]

Defines the destination addresses which this entry concerns. If 

this parameter is omitted, then the entry concerns all destination 
addresses.

¡

-p

 <protocol>   (optional)

Optionally the application of this rule may be limited to a certain 

protocol.

¡

-y

  (optional)

15

The rule may be applied to the TCP SYN packets only (i.e. the 

packets that initiate the TCP connection). It allows inhibiting the 
incoming connections while the returning packets for the outgoing ones 
will be passed.

¡

-m 

<IP address>

By default during the masquerade an outgoing interface’s IP 

address is used. The option above allows forcing use of another address.

¡

accept / deny / masq 

- information, what to do with a packet, 

that conforms to a given rule (accept / discard / masquerade)

Note:

The router always chooses the first matching rule from the 

list. So if the more general rule comes first, and the more specific 
is later, then the first one will be applied and the last one - ignored. 
Thus the specific rule has to be inserted 

before

 the general one, 

as in following example:

ipchains add -s 215.16.11.0/24 deny

ipchains insert -s 215.16.11.5 accept

Commands above inhibit the access for the whole 215.16.11.0/24 

subnet 

except

 the 215.16.11.5 address.

More examples:

ipchains add d 0.0.0.0/0 80-80 p tcp deny

Inhibits access to the port 80 on all external servers.

ipchains add s 192.168.0.0/16 masq

Enables masquerade for the 192.168.0.0/16 subnet (other 

addresses are passed unchanged)

Note:

The specific

 

“accept” rule (concerning one IP address) has 

to be inserted 

before

 the general one (concerning the whole 

subnet), either using the “insert” command as in the example 
above or by adding the specific rule first and then the general one. 
Otherwise the router will always apply the first rule and will never 
reach the second one, as the packet coming from 215.16.11.5 fits 
both of them and if the general one is first, then it will be applied.

Summary of Contents for 1800

Page 1: ...V 35 Ethernet Routers series TAHOE 1800 FREEDOM OF COMMUNICATION USER MANUAL ...

Page 2: ......

Page 3: ...i TABLE OF CONTENTS 1 Introduction 1 2 Interfaces 2 3 Configuration and management 5 4 Technical data 23 5 Declaration of Conformity 25 ...

Page 4: ...ved Other trademarks of other companies are used only for explanation and to the owner s benefit without intent to infringe Tahoe assumes no responsibility for any errors or omissions that may appear in this document Tahoe makes no commitment to update the information contained here and may make changes at any time without notice ...

Page 5: ...nd VLAN interfaces eth0 1 eth0 2 etc Router may also work as a bridge in this mode both interconnected networks create one whole on the hardware level e g computers with Microsoft Windows operating system will see each other in the network neighborhood A built in DHCP BOOTP server allows assigning of IP addresses network mask router addresses and other parameters to the network stations DHCP BOOTP...

Page 6: ...2 ...

Page 7: ...o a PC another router or an uplink port in a switch using a crossed over one After connecting a LED named LAN Link should be lit In case of Tahoe 1808 router an 8 port switch is available instead of a single Ethernet interface Each switch port has three LEDs associated to it 10 100Mbps when lit signals a 100Mbps connection LINK ACTIVITY when lit signals a proper connection to the other device flas...

Page 8: ...see chapter 3 Pin Name 1 DCD 2 3 4 5 6 RXD TXD DTR GND DSR Description carrier detect transmission readiness signaling data received from the PC data sent by the router to the PC active when the PC is switched on signal ground active when the router is switched on 7 RTS used by the PC to inform that is has data to send 8 CTS used by the router to permit data transmission 9 RI ring indicator signal...

Page 9: ...ser Access Verification Password The default password is Tahoe case sensitive If the password entered is correct a command prompt will appear Tahoe 3 2 Serial console If the telnet connection is not possible e g there s no telnet client available or the router s IP address is unknown the router may be connected to the PC s serial port using a null modem cable After starting a terminal software e g...

Page 10: ...lution may be disabled using the ifconfig command If it is disabled only those stations may connect to the router whose IP and MAC addresses are entered into the ARP table using the arp add command This way an unauthorized network access may be prohibited 3 3 3 bridge The bridge command enables or disables the bridge mode in which two interconnected LANs create one whole in the hardware layer The ...

Page 11: ...ory defaults Until the reboot it will continue to run with its current settings which can be saved again using write command 3 3 5 config The config command displays current configuration The command output may be entered on another router to make an exact copy of the configuration 3 3 6 console This command is used to enable or disable password the protection of the serial console By default the ...

Page 12: ...OTP requests and replies between separate networks The DHCP and BOOTP protocols work only within one physical subnet The station using such protocols doesn t know its IP address yet so its packets cannot be routed to other networks Relay Agent listens for such requests and forwards them to a DHCP server which may be placed anywhere in the network 3 3 7 1 Review of the settings Entering dhcp alone ...

Page 13: ...copied it may be modified or deleted later on the beginning a network for each interface should be created in each of the networks an IP subnet should be created according to IP subnets connected to that interface router may not have the routing set up to each of them it s enough that they are in the same physical network now IP ranges and static IP entries may be added 3 3 7 3 dhcp on off relay D...

Page 14: ...red subnets Only this IP address will be assigned to the given MAC address dhcp add host server 00 50 13 2e 15 ca 10 0 0 5 dhcp add range start address end address Adds an IP address range from which addresses will be assigned to the network stations The address range must be contained inside one of the subnets dhcp add range 10 0 0 5 10 0 0 37 dhcp add option option value Adds a global DHCP optio...

Page 15: ...address Deletes a DHCP server address used in the Relay Agent mode dhcp del range start address end address Deletes an IP address range assigned to the network stations dhcp del option name value Deletes a global option Besides the option name its value should also be given because some options may have more than one value e g domain name servers routers etc 3 3 7 6 dhcp rename The command changes...

Page 16: ...n IP address when a station is switched off without releasing that address dhcp network max lease time value A station may request other lease time the negotiated time may not be higher than this setting 3 3 7 8 dhcp default lease time value dhcp max lease time value These commands are similar to those described in the previous paragraph but their meaning is global 3 3 8 exit quit The command clos...

Page 17: ...mitation a 0 0 0 0 address should be entered 3 3 11 ifconfig The command allows configuring the network interfaces Following interfaces are available eth0 Ethernet interface eth0 0 eth0 1 etc eth0 interface aliases one physical interface may support several IP subnets eth0 1 eth0 2 etc VLAN networks LAN networks separated from each other although using the same cabling eth0 1 0 eth0 1 1 etc VLAN i...

Page 18: ...on NAT called also masquerade that is giving a network an access to the Internet using only one real IP address ipchains add adds an entry at the end of the list ipchains insert adds an entry at the beginning of the list ipchains del removes an entry ipchains list displays current settings ipchains flush removes all entries from the list After the add insert or del option following parameters shou...

Page 19: ...nserted before the general one as in following example ipchains add s 215 16 11 0 24 deny ipchains insert s 215 16 11 5 accept Commands above inhibit the access for the whole 215 16 11 0 24 subnet except the 215 16 11 5 address More examples ipchains add d 0 0 0 0 0 80 80 p tcp deny Inhibits access to the port 80 on all external servers ipchains add s 192 168 0 0 16 masq Enables masquerade for the...

Page 20: ...ts and IP addresses are printed as hexadecimal numbers 3 3 15 mem Mem shows the memory usage statistics The free entry is the most important it shows how much free memory is left 3 3 16 netstat Shows a list of active TCP connections 3 3 17 ping Checks the availability of a device with selected IP address For example ping 10 0 0 2 gives the time necessary to send packet to the 10 0 0 2 station and ...

Page 21: ...ow execution of up to four commands after the PPP link is established ppp port down1 command ppp port down2 command ppp port down3 command ppp port down4 command the down1 to down4 options allow execution of up to four commands after the PPP link is broken down ppp ppp user username sets the username used during the PPP authorization if required by the remote router ppp port password password sets...

Page 22: ...rface route add net address netmask network mask gw gateway adds the route to a subnet with given address and network mask through a specified gateway route add default gw address adds the default route through a given gateway route del address removes route to an IP address given route del net address netmask network mask removes route to a subnet specified route del default removes default route...

Page 23: ...arp mode by typing strictarp on and entering the static IP MAC assignments using arp add the router would listen to incoming ARP requests asking for the addresses it has in its static table If the request comes from another MAC address than in the router s ARP table it will send an answer with the correct MAC address Such request is sent by the PCs working under the Microsoft Windows operating sys...

Page 24: ...r is enabled the access to it may be limited to a certain IP address If this address is set to 0 0 0 0 then the access isn t limited 3 3 29 timeout The command sets the inactivity time in seconds after which the telnet connection is closed It has following syntax timeout during the session during logging in The first parameter is used after the logging in and the second one optional during the log...

Page 25: ...ither single or multi user 3 3 32 ver Displays current firmware version 3 3 33 watchdog The watchdog command gives additional control over the router s unpredicted behavior i e a misconfiguration disabling further communication with the router The router uses the ping command to check the availability of certain IP addresses and reboots if one of them doesn t answer The command has following synta...

Page 26: ... Saves the current configuration to the EEPROM and displays an information about the EEPROM usage If the configuration is to large to be stored some settings should be deleted like static ARP entries DHCP options etc ...

Page 27: ...inchester M 34 connector available data rate up to 2 5 Mbps external clocking Ethernet interface Tahoe 1801 10BaseT RJ45 connector Tahoe 1808 10 100BaseT 8 x RJ45 serial console RS 232 9600 bps 8N1 DB9 M connector dimensions 229 mm width x 57 mm height x 152 mm length power supply Tahoe 1801 7 5V 400 mA Tahoe 1808 7 5V 1 2A external power supply included environmental conditions storage temperatur...

Page 28: ...24 ...

Page 29: ...quirements 89 336 EEC EMC requirements 99 5 EEC radio telecommunication terminal equipment requirements The compliance of Tahoe 1801 and Tahoe 1808 routers with the requirements of the above mentioned directives is ensured by complete application of the following harmonized European Standards EN 60950 2000 EN 55022 1998 EN 61000 6 1 2002 EN 61000 6 3 2002 Signed Piotr Kaczmarzyk Position Director ...

Page 30: ...nly for explanation and to the owner s benefit without intent to infringe Tahoe assumes no responsibility for any errors or omissions that may appear in this document Tahoe makes no commitment to update the information contained here and may make changes at any time without notice ...

Page 31: ......

Page 32: ... TAHOE Uniwersytecka 1 50951 Wroc aw Poland phone 48 50 100 7362 fax 48 71 344 2642 http www tahoe group com ...

Reviews: