Clavister Advanced Routing. cos Core Version:

Size: px
Start display at page:

Download "Clavister Advanced Routing. cos Core Version:"

Transcription

1 Clavister Advanced Routing cos Core Version:

2 VNC edu.clavister.com:1000x edu.clavister.com:1001x Intoro123

3 Agenda 1. Basics of Routing 2. Static Routing 3. Policy-based Routing 4. Virtual Routing 5. Dynamic Routing 6. Multicast Routing 7. Transparent Mode 3

4 Clavister HQ, Örnsköldsvik, Sweden

5 Clavister HQ, Örnsköldsvik, Sweden

6 Clavister Product Lineup PolarBear Series (ATCA, Stream) Wolf Series P P P P P8 W5 (Core) W3 (Core) Eagle Series Lynx Series Virtual Series E7 / E7 Remote X8 V3, V5, V7, V9 All Series (not V or E7R) are sold with either Standard or Professional license

7 Practical details: Breaks Breaks 10:00-10:15 14:00-14:15 Or when it best fits in the training Lunch 12:00-13:00 CET Practical Details Breaks Lunch 7

8 Lab Setup via VNC Lab Environment LabPC/InControl Clavister ISP/DNS Internet LabNet Student X *VNC Client on one screen *PPT slides on one screen/ projector Group X 1<=X<=6 VMware based server Internet

9 Lab Network: Detailed description Server HTTP, FTP, SimpServ, LabNet /16 ISP / DNS LabPC X X.2 Group X LAN X.0/24 Group X WAN: X.1 LAN: X.1

10 Setting Up VNC Online course: Skip this chapter, was included in the Course Preparation Document Link to next chapter

11 Exercise: Installing VNC Objectives Install the VNC Viewer software Connect to your LabPC What you will know Your Lab Group has a number (1 to 4) which replaces the X in many exercises (in IP numbers etc). How to download and install the VNC Viewer How to connect to the LabPC and work on it via VNC 11

12 Exercise: Installing the VNC client VNC is a free product for viewing desktops over TCP/IP The trainer have the VNC viewer on a USB memory Optionally: Download the VNC Enterprise Viewer from It supports scaling, which the standard viewer does not support Install the software It is actually just an.exe file that you start Why not RDP? VNC can have multiple viewers of the same desktop and also support resizing (scaling) and enabling/disabling of input. VNC makes the instructor's work much easier than RDP would. Remember that Clavister AB will monitor and log all activity on those machines, including, but not limited to, the desktop itself. 2 October,

13 Onsite ONLY: Setting up your PC The PC's IP settings IP: X X = your group number Mask: GW: none DNS: none Connect the PC to the switch that leads to the VMware Server Start the VNC client.exe file, no installation needed Connect to: X X = your group number Password: Intoro123 Same for VNC and for WinXP This is where you will do all the exercises in this course

14 Online ONLY Use your normal IP settings to reach the Internet Make sure your local firewall(s) allow traffic to TCP/5900 to Clavister Start the VNC client Connect to: edux.demo.clavister.com X = your group number, see invitation Password: Intoro123 Same for VNC and for WinXP This is where you will do all the exercises in this course

15 Configure Internet Access Online course: Skip this chapter, was included in the Course Preparation Document Link to next chapter

16 Exercise: Internet Access Objectives Configure cos Core to do NAT of traffic from LAN to WAN. Web browsing Ping your external interface from the LabPC Upgrade cos Core to the latest available version 16

17 Exercise: IP Rules The IP Rule syntax in this course material is as follows: Name Action Source Int Source Net Dest Int Dest Net Service NAT_HTTP NAT lan lan_net wan all-nets HTTP In the WebUI it looks something like this: 17

18 Exercise: Create IP Rules Open the WebUI on Add these rules in Rules > IP Rule Sets > main: Enable Logging on all of them DropNetBIOS Drop any all-nets any all-nets smb-all LOG PingWan Allow lan lannet core wan_ip ping-inbound LOG Why Core? See next slide! NAT_All NAT lan lannet wan all-nets All_services LOG DropAll Drop any all-nets any all-nets All_services LOG Save and Activate Test by Browse to Ping X.1 from your LabPC Watch the System Log You should see your traffic. 18

19 Core owns the interfaces IP addresses lan_ip= x.1 wan_ip= x.1 cos Core lan_net= x.0/24 wan_net= /16 CLI: routes -all Lists all routes, including core routes WebUI: Status > Routes, enable "Show all routes" 19

20 Exercise: Upgrade Loader & Core Check current version in the WebUI Status page, cos Core Version cos Core or higher Check via the CLI Device:/> About cos Core or higher If necessary, do an update from the WebUI: Status > Maintenance > Upgrade > Firmware Browse for the.upg file provided by the trainer Online course: Resources on your Desktop The.upg file contains Core + Loader + Webui.rc (resource file)

21 Basics of Routing

22 Overview IP Routing Fundamental functionality in cos Core All Packets are routed at least once going through cos Core cos Core supports Static Routing Dynamic Routing Virtual Routing Route Load Balancing Route Monitoring Fail-over capabilities 22

23 The Principles of Routing Gateway Router Internet Routing Table Company Routing Table ISP Internet 23

24 Routing basics The router is a member of both networks. The nodes have the router as default gateway. If they can t find the destination in their local network, they ask the default gateway /24 Router /24 Client Server

25 Packet Flow Schematic 25

26 Packet Flow Schematic Details in a later slide 26

27 Packet Flow Schematic 27

28 The "Apply Rules" box, in more detail 28

29 Static Routing

30 Introduction to Static Routing Static Routing Entries manually added Time consuming for complex networks Permanent entries Non-changing networks Dynamic Routing Complex networks Changing networks Roaming units Ships entering different harbors 30

31 A Static Routing Table Route # Interface Destination Gateway 1 lan /24 2 wan /24 3 wan / Gateway Router Internet lannet wannet all-nets 31

32 Route lookup and State awareness IP Packet is Received Consult the Connection table Existing connection found route the packet More efficient than routing table lookup High forwarding performance on non-asic No existing connection found Consult routing table Consult the IP rules Add to Connection table First as SYN_RCVD Then as SYN_ACK_RCVD Finally as TCP_OPEN UDP, RAWIP etc have their own states Knowing the Source/Destination before consulting the Rules gives fine granular control. 32

33 Routing Table Windows XP Workstation cos Core uses a slightly different way of describing routes compared to most other systems. ==================================================================== Interface List 0x1... MS TCP Loopback interface 0x d4 51 8d dd... Intel(R) PRO/1000 CT Network We believe that our way of describing routes is easier to understand, making it less likely for users to cause errors or breaches in security. 0x WAN (PPP/SLIP) Interface ==================================================================== ==================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric Default Gateway: ==================================================================== Persistent Routes: None This routing table is from a Microsoft Windows XP workstation: Most systems do not use the specific interface in the routing table, but specifies the IP address of the interface instead. 33

34 Routing Table Clavister cos Core This routing table is from a cos Core system. Flags Network Iface Gateway Local IP Metric /24 lan /8 wan /0 wan dmz It s perfectly legal to specify ranges in the routing table! Hence cos Core is highly suitable for routing tasks in very complex network topologies. There are Core routes and Multicast routes missing, to be fair. 34

35 Displaying the Routing Table Displaying the Routing Table How to display the contents of the configured routing table as well as the active routing table. Clavister WebUI CLI Status > Routes Device:> routes Flags Network Interface Gateway Local IP Metric /24 Lan /24 Wan /0 Wan

36 Displaying Core Routes Displaying the Core Routes This example illustrates how to display the core routes in the active routing table. CLI Device:> routes -all Flag Network Iface Gw Local IP Metric core (Shared IP) core (Iface IP) core (Iface IP) core (Iface IP) /24 lan /24 wan /4 core (Iface IP) /0 Wan

37 Proxy ARP Using Proxy ARP, cos Core responds to ARP requests with its own MAC address. The IP based traffic is then forwarded to the destination host. Who has X.200? Proxy ARP reply with MAC from cos Core.X.0/25.X.128/ X.5 /24 I do! X X X.200 /24 37

38 Exercise: Static Routing, Basic setup Objectives Setup the static routing of the Clavister Security Gateway, including an all-nets route and NATing of traffic to the Internet. What you will know Static routing Default route setup NATing of traffic 38

39 Exercise: Lab Setup Required equipment Computer Web browser installed Security Gateway Default configuration on cos Core 10.x Knowledge of the layout of the network The slide Basic setup for lab Your group number 39

40 Exercise: Lab Network Server HTTP, FTP, SimpServ, LabNet /16 ISP / DNS LabPC X X.2 Group X LAN X.0/24 Group X WAN: X.1 LAN: X.1

41 Exercise: Address book Objects > Address Book IP Name X.1 wan_ip /16 wan_net wan_gw X X.0/24 lan_ip lan_net 41

42 Exercise: Routing Table Network > Routing > Routing Tables > main These routes have been automatically created Interface Network Gateway lan lan_net wan wan_net wan all-nets wan_gw 42

43 Exercise: Rules Policies > Firewalling > Main IP Rules Now add IP Rules for the traffic and test the setup Name Action Src If Src Net Dest If Dest Net Service NAT_All NAT lan lan_net wan all-nets All_services 43

44 Exercise: Test the setup Save and Activate Test by web browsing and pinging hosts on the public Internet You should be able to access the Internet from your lab PC. This exercise is finished 44

45 Exercise: Proxy ARP Objectives Setup the proxy ARP example found on the Proxy ARP slide. What you will know Static routing with Proxy ARP How to introduce cos Core in an existing network with no configuration changes to any hosts (Transparent Mode). 45

46 Exercise: Proxy ARP Scenario Who has X.200? Proxy ARP reply with MAC from cos Core.X.0/25.X.128/ X.5 /24 I do! X X X.200 /24 46

47 Exercise: Configuration Make a Configuration Backup We will restore the configuration after this exercise Objects > Address book lan_ip = X.1 lan_net = X.0/25 Network > Routing > main, add these routes IPv4Route lan lan_net proxyarp on dmz IPv4Route dmz dmz_net proxyarp on lan local IP = lan_ip dmz_ip = X.129 dmz_net = X.128/25 Network > Interfaces > Ethernet Open lan and dmz and go to the tab Advanced Disable the Automatically add a route feature Alternate solutions (not done now) Use VLANs to segment the network Use ranges instead of /25 networks. 47

48 Exercise: IP Rules IP Rules Name Action SrcIf SrcNet DstIf DstNet Service LanToDmz Allow Lan Lannet Dmz Dmznet All_tcpudpicmp DmzToLan Allow Dmz Dmznet Lan Lannet All_tcpudpicmp NAT_Servers NAT Dmz Dmznet Wan All-nets All_tcpudpicmp For Onsite course only: Interfaces > Interface groups Create an Interface group "Internal" containing Lan and Dmz System > Remote Management Allow HTTP/HTTPS from Internal all-nets 48

49 Exercise: Testing Online course We only have one LabPC, so Ping Simulation can be used to test the setup: Ping X.200 -srcif lan -srcip X.2 verbose Ping X.2 srcif dmz srcip X.200 v Ping srcif dmz srcip X.200 -v Onsite course Move your LabPC to the DMZ interface: Either do a "Repair" on your LabPC's NIC or delete the ARP table in the DOS prompt with arp -d * Optionally, make an ARP Notify from cos Core: arp -notify dmz: x.1 Try reaching the Internet and look in the System Log Restore your configuration backup This exercise is finished

50 Exercise: Route Failover Objectives Setup two ISPs to the Clavister Security Gateway, including an all-nets route to each, different metrics and Monitoring on the primary route. What you will know Metrics and Monitoring of routes Interface groups NATing of traffic to Interface groups Required IP number, network and GW to the secondary ISP 50

51 Exercise: Route Failover Scenario ISP ISP2 Wan Dmz Lan_net 51

52 Exercise: Address Book Objects > Address Book Edit the following IPv4 Address Objects dmz_ip = X.1 dmz_net = /16 Add the dmz_gw for the secondary ISP: dmz_gw =

53 Exercise: Interfaces Network > Interfaces Open the WAN interface On the Advanced tab, disable the "Automatically add a default route..." We need to add it manually to be able to add Monitoring Open the DMZ interface Set the Default Gateway: dmz_gw Go to the Advanced tab Route Metric: 200 The Wan default route has 100 as metric and this is the backup route Allow the default route to be automatically created...or disallow it and add the route manually (see next slide)

54 Exercise: Routing Table Network >Routing > Routing Tables > Main Add the Wan default route (and the Dmz default route if not automatically created) Route wan all-nets wan_gw metric 100 Monitor tab Enable Monitoring via Link status and ARP This is what you should have in your routing table: 54

55 Exercise: Interface Groups Network > Interfaces > Interface Groups Add an Interface Group Name: RFO Add: WAN and DMZ Do not enable Security/Transport Equivalent It will delay the failover by approximately 30 seconds A new ISP means new source IP, we can t reuse the same connection 55

56 Exercise: The NAT IP Rule IP Rules Edit your current NAT rule to have the Interface Group (RFO) as Destination Interface Now it will trigger for traffic to both ISP1 and ISP2 Alternative solution: Create one separate IP rule for each ISP. Save & Activate 56

57 Exercise: Testing Windows: Add a public DNS server ( will not be available!) Test the route failover functionality by surfing and removing the Wan cable. Online course: Ask the trainer to do it in VMware (see next slide or the slide notes here) The web surfing should still work The logs should have DMZ as source for the NAT rules You should find an entry about the failed route In the CLI, issue these commands to see more about the routing status: routes -all routemon Network > Routing > Routing Settings Modify options 57

58 Exercise: Trigger the RLB VMware workstation Team menu > Settings Disable the corresponding (nr 2) Adapter/Virtual machine. (1=lan, 2=wan, 3=dmz) Click OK to enable Restore the setting after the RFO exercise is finished Vsphere Client (ESXi) Open the Summary tab on the cos Core machine Click Edit Settings Select the Nic (2, LabNet) and disable the "Connected" option Click Ok Restore the setting after the RFO exercise is finished

59 Exercise: Route Load Balancing Objectives Setup Route Load Balancing (RLB) on two ISPs cos Core supports more ISPs, this is just a basic scenario 59

60 Exercise: Scenario ISP Mbps Wan ISP2 25 Mbps Dmz Lan_net 60

61 Exercise: Address Book Objects > Address Book Edit the following IPv4 Address Objects dmz_ip = X.1 dmz_net = /16 Add the dmz_gw for the secondary ISP: dmz_gw =

62 Exercise: Route Load Balancing Network > Routing > Route Load Balancing > Instances Add a Route Balancing Instance Routing Table: Algorithm: Main Round Robin

63 Exercise: Routing Network > Interfaces > Ethernet For all the interfaces, do the following: Go to the Advanced tab Disable the "Automatically add a default route..." Route Metric: 1 "The local routes must have lower metric than the all-nets routes" Source: cos Core Manual

64 Exercise: Routing Network > Routing > Routing Tables > Main Add the two default routes: Route wan all-nets wan_gw metric 10 Route dmz all-nets dmz_gw metric 13 The DMZ route is 1/4 th as quick, so they must have different metrics 1/3 means that we should have 10 and 12 as metrics (or 100/102) etc. These values are found by trial and error and analysis of the System Log 13 64

65 Exercise: Interface Groups Network > Interfaces > Interface Groups Add an Interface Group Name: RFO Add: WAN and DMZ Do not enable Security/Transport Equivalent It will not be used here anyway. A connection is not moving between the interfaces. 65

66 Exercise: IP Rules IP Rules Edit your current NAT rule to have the Interface Group (RFO) as Destination Interface Now it will trigger for traffic to both ISP1 and ISP2 Optionally Add a second NAT rule instead, from Dmz to Wan Save & Activate 66

67 Exercise: Testing Open a web page that has a lot of stuff on it For every 4 conn_open sent to ISP1, 1 should be sent to ISP2. RLB can also be combined with Route Monitoring. You can try with different Metric values on the Dmz all-nets route This exercise is finished

68 Policy-based Routing

69 PBR Overview Policy-based Routing (PBR) Extension of Static Routing Routes chosen can be based on various parameters Source address Service type Connection aware Control over both forward and return direction Policy-based Routing Rules decide which routing table to route packets in. "PBR" / "PBR Rules" 69

70 Routing Decision Source based routing Route depends on Source address One source address range routed through one ISP Another source address range routed through another ISP Service based routing Route depending on the protocol HTTP traffic routed through one ISP All other traffic through another ISP 70

71 PBR Policy-based Routing implementation in cos Core consists of One or more user-defined alternate Routing Tables In addition to the default Main routing table. Ordering controls behaviour Routing Rules Determines which routing table to use. Pre-defined Routing Rules Each interface have a "hidden" Routing Rule, which is placed last in the Routing Rules table: Route lan all-nets any all-nets <main> <main> all-services Routing Rules precede these, and can therefore redirect the traffic. See the Virtual Routing Chapter for details 71

72 Routing Table Ordering Ordering The Ordering parameter of Alternate Routing Tables How route lookup is done in conjunction with the Main routing table If the source interface has Routing Table Membership set, route lookup is done in conjunction with the membership table instead. The total number of routing tables available is limited by the License 72

73 Routing Rules Routing Rules Routing Rules decide which routing table to use based on Source/Destination Interface Source/Destination Network Service Top to bottom matching in the rule set 73

74 Routing Table Membership Routing Table Membership Is consulted only if no matching Routing Rule is found Decides the Primary routing table for an interface If a particular routing table should always be used for traffic from a given source interface, regardless of the Service type. Routing Rules are more fine-grained as you control the routing based on a Service. This modifies the hidden PBR Rule (ISP2 is our RTM): lan all-nets any all-nets <ISP2> <ISP2> all-services Virtual Systems Created with Routing Table Membership on the interfaces Routing tables with ordering Only A chapter in this course is dedicated to this functionality 74

75 Ordering Routing table is now chosen It is an alternate routing table The Ordering parameter decides How the alternate table is combined with the main/routing Table Membership table Lookup the appropriate route Three available options are described on the following pages. Default First Only Important The All-nets route must exist in the main table If no smaller route is an exact match then the connection will be dropped. Routing Table Membership will not function if the default route is missing 76

76 Ordering Default Ordering Default Lookup the route in the main table Main If only the Default Route matches, consult the Alternate table If no match is found in the alternate table, use the Default Route in the main table Alternate Typical scenario Redirect a specific service (http) over a secondary ISP 77

77 Ordering First Ordering First Lookup the route in the Alternate table Any matching route will be taken Including the Default Route Alternate If no matching route is found, consult the Main table It must have a default route, so there will be a match Main Typical scenario To redirect a route in the Main table, which is not the Default Route 78

78 Ordering Only Ordering Only Lookup the route in the Alternate table No other table is consulted Policy-based Routing Rules *can* still force a lookup in another routing table Alternate Typical scenario Virtual Systems / Virtual Routers Dedicate a single routing table to a set of interfaces 79

79 Exercise: Ordering Default, HTTP via ISP2 Objectives Two ISPs. HTTP traffic will go in and out from the secondary ISP (Dmz). All other traffic goes via the primary ISP (Wan) Optional: All incoming traffic on either interface, returns on the same interface. What you will know How to setup Routing Tables and Routing Rules for Ordering Default. The Main Routing table is first consulted. If the Default route is the only matching route, the alternate Routing Table is consulted. 80

80 Exercise: Schematic All HTTP traffic goes out/in via ISP2 All other traffic via ISP1 ISP Other traffic Wan ISP2 Dmz http LabPC 81

81 Exercise: Remove the RLB feature To avoid problems, remove the RLB feature from the previous exercise.

82 Exercise: Address Book Objects > Address Book Edit the following IPv4 Address Objects dmz_ip = X.1 dmz_net = /16 Add the dmz_gw for the secondary ISP: dmz_gw =

83 Exercise: Add a Routing Table Network > Routing > Routing Tables Add a new Routing Table Name ISP2 Ordering Default 84

84 Exercise: Routes Network > Routing > Routing Tables > ISP2 Add a Default (all-nets) IPv4 route Interface Network Gateway dmz all-nets dmz_gw This will redirect all traffic that is consulting the ISP2 routing table over the DMZ interface 85

85 Exercise: Remove Auto Created Routes Network > Interfaces > Ethernet > Dmz > Advanced tab Remove the Automatically add a default route... checkmark Only needed if you have specified a Gateway on the General tab

86 Exercise: Routing Rules Network > Routing > Policy-based Routing Rules Add a Routing Rule which redirects HTTP traffic to ISP2 The Destination Interface is Wan Not Dmz which might be your first thought, as we must match what we matched in the Main routing table The resulting PBRs for "lan": lan lan_net wan all-nets <ISP2> <ISP2> http lan all-nets any all-nets <main> <main> allservices

87 Exercise: Add HTTP NAT IP Rule Policies > Firewalling > Main IP Rules Add a NAT rule for traffic from Lan_net via Dmz to Internet The Routing Rules will automatically re-route the http traffic, but we need an IP Rule for the new destination interface Dmz All other traffic uses your regular NAT IP Rule(s) NAT_HTTP_DMZ NAT lan lan_net dmz all-nets http

88 Exercise: Test your setup Save & Activate In the System Log, look for the destination interface "Dmz" You should see that all http traffic uses the Dmz interface The exercise is finished 89

89 Virtual Routing Virtual Systems

90 Virtual Routing or Virtual Systems Virtual Routing or Virtual Systems Multiple logically separated systems from a single cos Core installation Their own routing table Each logical interface is associated with a specific routing table Many features can be run separately on each system Separate OSPF processes One administrator using the WebUI Several administrators requires InControl and an API based portal Communication between these systems SAT-Allow Bounce on the ISP Routing Rules Different routing tables in Forward and Return directions Loopback Interfaces Connects the routing tables 111

91 Components in Virtual Routing Separate Routing Tables for each Virtual System. Routing Table Membership Physical interfaces or Virtual LAN (VLAN) Loopback interface pairs Communication between virtual systems IP Rules for the traffic Routing Rules Optional To re-direct traffic, even though Routing Table Membership is enabled. We have two different exercises in this course on this theme 112

92 Routing Table Membership The effect of setting RTM is to add, or rather change, the "hidden" Routing Rules that are last in the Routing Rules table. Each interface is by default a "member of all routing tables" It has a Routing Rule like this, last and hidden in the PBR rule set Route lan all-nets any all-nets <main> <main> all-services All interfaces are Core routed in all routing tables If you set RTM on an interface, to Routing table 2 (RT2), this happens: The hidden Routing Rule is modified to look like this: Route lan all-nets any all-nets <RT2> <RT2> all-services Its Core routes are removed from all routing tables, except from RT2.

93 RTM + Routing Rules To change the Forward direction of the LAN interface, currently a member of RT2 Add a Routing Rule: Route lan all-nets wan all-nets <main> <RT2> all-services Wan is the destination interface because of the hidden rule: wan all-nets any all-nets <main><main> all-services

94 Exercise: Virtual routers exercise #1 Objectives Make it appear to the customers that they have their own Clavister Security Gateway, from a network perspective. See picture of network setup. What you will know How to use Ordering Only Loopback interfaces 115

95 Exercise: Ordering Only Scenario wan X.1 Main Company1 "Only" X.100 Loopback Company2 "Only" X.200 lan X X.1 dmz X.0/ X.0/24 116

96 Exercise: Scenario Description We have several customers, we will configure one of them Each customer has Their own Virtual Router Their own external IP address Outgoing traffic 1. Enters the loopback interface, via the default route in the VR 2. Is NATed to the Main routing table 3. Is Allowed to the Internet Incoming traffic 1. Is targeted to the external IP, Proxy ARPed on the loopback interface 2. Allowed through the loopback interface 3. SAT/Allowed to the customer's server 117

97 Exercise: Address Book It might be a good idea to restore the backup of the initial configuration from the start of the course before continuing. Company 1 Lan_ip Lan_net Company1_server Company1_ip X X.0/ X X.100 Main Wan_ip X.1 Wan_net /16 Wan_gw

98 Exercise: Create Routing Tables Routing > Routing Tables Create one Ordering Only Routing Tables Company1 Company 2 through N would also get their own Routing Table.

99 Exercise: Modify Routing Table Membership Specify routing tables for the interfaces belonging to the Company1 (etc) Network > Interfaces > Ethernet > Lan > Virtual Routing tab Routing table: Company1 For any other Virtual Systems, you do a matching modification to put their interface(s) in their routing table.

100 Exercise: Loopback Interfaces Network > Interfaces > Loopback Interfaces Add Loopback Interfaces for the communication between the Routing Tables The Loop To on the first interface need to be added when the second has been created Name Loop To IP Address Network Routing Table Membership c1_main main_c /24 Company1 main_c1 c1_main /24 main

101 Exercise: Main Routing Table Edit the Main Routing Table so it only has these routes (for the interfaces involved here) Add: Route main_c1 Company1_ip "Proxy ARP on wan" So ARP queries from Internet will be responded to

102 Exercise: Company1 Routing Table Routing > Routing Tables > Company1 Add the Default route Route c1_main all-nets

103 Exercise: IP Rules (Company 1) Outgoing and incoming traffic See next slide for details! Outgoing Company1_to_main NAT lan lan_net c1_main all-nets all_services Setsource=Company1_ip Company1_to_Internet Allow main_c1 Company1_ip wan all-nets all_services Incoming (to a web server published on Company1_ip, located on Lan_net) Internet_to_Company1_ip Allow wan all-nets main_c1 Company1_ip http SAT_Company1_ip SAT c1_main all-nets c1_main Company1_ip http Setdest=Company1_server Allow_Company1_ip Allow c1_main all-nets c1_main Company1_ip http

104 Exercise: Outgoing IP Rules 9. Rule explanation, Outgoing traffic Rule 2: Outgoing traffic is NATed with SETSOURCE = Company1_ip Main X.1 Loopback X.100 Company1 "Only" X.1 Company2 "Only" X X.200 Rule 3: Traffic from Loopback arrives in Main and is Allowed to All-nets on WAN X.0/ X.0/24 125

105 Exercise: Incoming IP Rules 10. Rule explanation, Incoming traffic Rule 5: Traffic from Internet enters the public IP and is Allowed to the Loopback interface Main X.1 Rules 6&7 (SAT-Allow): Translate the address from the public IP to the server IP Company1 "Only" X.100 Loopback Company2 "Only" X X X X.0/ X.0/24 126

106 Exercise: Testing Save & Activate If you get "error in config" without any reason: Testing Set the main_c1 interface Membership to "company1", click OK, set it back to "main". Now you should be able to deploy. Use your web browser Look in the System log output. There should be two log lines per outbound connection (NAT + Allow Rules) Web server Install/start the shttpd_137.exe file from the Resources folder on your desktop. Verify your neighbour s server (Group Y) on Y.1 Here your Allow + SAT/Allow rules should permit the traffic. Since we in cos Core got IPsec VR IPsec tunnels can now be terminated in any routing table L2TP/IPsec servers can now also run in separate VRs This exercise is finished 127

107 Exercise: Virtual routers exercise #2 Objectives The customers have "their own" Clavister Security Gateway. See picture of the scenario. What you will know Ordering "Only" 128

108 Exercise: Scenario Scenario Main Company1 "Only" wan X.1 Company2 "Only" VLAN_ X.1 lan dmz X.0/ X.0/24 129

109 Exercise: Scenario Description Ordering Only Two ISPs Two completely separated networks in their own routing tables. Main is used by Company1 Company2 has a separate Routing Table. Since all interfaces belonging to Company2 has Routing Table Membership set to the Company2 routing table, there is no need for Routing Rules. 130

110 Exercise: Address Book Restore your system to the initial configuration before starting with this exercise. Company 1 ISP Wan_ip X.1 Wan_net /16 Wan_gw Company 2 ISP Vlan100_ip X.1 Vlan100_net /16 Vlan100_gw Internal Lan_ip Lan_net Dmz_ip Dmz_net X X.0/ X X.0/24 131

111 Exercise: Routing Table Ordering Only Routing Tables Create a new Ordering Only routing table: Company2 Remove the ISP2 Routing Table from our last exercise Also remove the Routing Rule 132

112 Exercise: Add the VLAN Name Vlan_100 Interface Wan Vlan ID 100 IP Address Vlan100_ip Network Vlan100_net Default GW Vlan100_gw Virtual Routing tab Make the VLAN interface a member of Company2

113 Exercise: Ethernet Interfaces Routing Table Membership Lan and Wan Main Dmz Company2

114 Exercise: Main Routing Table Enter the following routes for Company 1 in the Main routing table, if they don't already exist. Automatic route generation might have to be disabled on other interfaces Type Interface Network Gateway Route wan all-nets wan_gw Route wan wan_net Route lan lan_net 135

115 Exercise: Company 2 Routing Table You need these routes for Company 2 Automatic route generation might have to be disabled on other interfaces Type Interface Network Gateway Route Vlan100 Vlan100_net Route dmz dmz_net Route Vlan100 all-nets Vlan100_gw 136

116 Exercise: IP Rules NAT out HTTP, HTTPS and DNS for the companies. Create a Service Group, HTTP_DNS, with HTTP-all and DNS-udp 137

117 Exercise: (Optional!) IP Rules, Servers Inbound SAT rules for servers The external IPs are wan_ip and Vlan100_ip The SAT rules address translate to the internal IP of the Server 138

118 Exercise: Testing Testing the setup Save and Activate Company 1 can be tested immediately Onsite course only: The Remote Management must have an entry for management from DMZ if you want to test from Company 2. Test the setup by connecting your Lab PC to LAN respectively DMZ. You need to change the IP on the LabPC. If you are running a web server (shttpd.exe), it should now be accessible from the Internet on both local networks. 139

119 Exercise: Add Communication Objectives We will add three ways of communication between the companies: SAT-Allow Bounce on the ISP, using the external IP Same local networks possible Routing Rules Different local networks required Loopback interfaces Different local networks required What you will know Methods of routing traffic in VR scenarios 140

120 Exercise: SAT-Allow We start by setting up SAT-Allow rules for bouncing on the ISP All traffic utilizes the wan/vlan links to the ISPs. Main Company1 "Only" wan X.1 Company2 "Only" VLAN_ X.1 lan dmz X.0/ X.0/24

121 Exercise: IP Rules Company 1 SAT-Allow IP Rules for inter-company traffic This should be similar to the rules you created earlier Rules for Company 1 Action Src If Src Net Dest If Dest Net Service Outgoing traffic from Lan to Internet and Company 2 NAT lan lannet wan all-nets HTTP_DNS NAT lan lannet core all-nets http Incoming traffic to the Server on Lan SAT any all-nets core wan_ip http setdest=server_ip Allow any all-nets core wan_ip http Server_ip = X.2 142

122 Exercise: IP Rules Company 2 Rules for Company 2 Action Src If Src Net Dest If Dest Net Service Outgoing traffic from Dmz to Internet and Company 1 NAT dmz dmznet vlan100 all-nets HTTP_DNS NAT dmz dmznet core all-nets http Incoming traffic to the server on Dmz SAT any all-nets core vlan_ip http Setdest=Server_ip Allow any all-nets core vlan_ip http Server_ip = X.2 (or X.2 to be fully compliant) Testing: Start the Web server (shttpd.exe) Use Ping Simulation from C2 to C1: Ping X.1 srcif=dmz srcip= x.5 -verbose -tcp -port=80 143

123 Exercise: Routing Rules Send the traffic via Routing Rules with different Fwd and Return routing tables The traffic does not utilize the ISP link Different local networks required (kind of) Main Company1 "Only" wan X.1 Company2 "Only" VLAN_ X.1 lan dmz X.0/ X.0/24

124 Exercise: Routing Rules Routing Rules for the inter-company traffic Routing > Routing Rules Src If Src Net Dest If Dest Net Fwd RT Ret RT Lan lannet wan dmznet <company2> <main> Dmz dmznet any lannet <main> <company2> Since we have different routing tables in the Forward and Return direction, we (may) also need to create an Access rule Network > Routing > Access Accept Any Allnets IP Rules Allow lan lannet Allow dmz dmznet any lannet Testing dmz dmznet all_tcpudpicmp all_tcpudpicmp Use Ping Simulation from Company 2 to Company 1: Ping X.2 -srcif dmz -srcip X.5 -v -tcp -port=80 145

125 Exercise: Loopback Interfaces Send the traffic via Loopback Interfaces between the routing tables The traffic does not utilize the ISP link Different local networks required (kind of) Main Company1 "Only" wan X.1 Company2 "Only" VLAN_ X.1 lan dmz X.0/ X.0/24

126 Exercise: Loopback Interfaces Loopback interfaces for the inter-company traffic Interfaces > Loopback Interfaces Name IP Addr Net Loop To RT Membership c2_main /24 main_c2 <company2> main_c /24 c2_main <main> Add the following routes to the existing routes Routing > Routes > Company2 c2_main lannet Routing > Routes > Main main_c2 dmznet 147

127 Exercise: IP Rules for Loopback Traffic Rules Action Src If Src Net Dest If Dest Net Service Company 1 to Company 2 Allow Lan lannet main_c2 dmznet All Allow c2_main lannet dmz dmznet All Company 2 to Company 1 Allow dmz dmznet c2_main lannet All Allow main_c2 dmznet lan lannet All (verified!) Testing Use Ping Simulation from C2 to C1: Ping X.2 -srcif dmz -srcip X.5 -v -tcp -port=80 148

128 Dynamic Routing OSPF

129 Routing Metrics Routing metrics The criteria a routing algorithm uses to compute the "best" route to a destination. Path length The sum of the costs associated with each link. Hop count Item Bandwidth Load Delay MTU The number of routing devices a packet must pass through The traffic capacity of a path, rated by "Mbps" The usage of a router CPU utilization and throughput The time it takes to move a packet from the source to the destination Depends on various factors, including bandwidth, load, and the length of the path Reliability

130 Distance Vector Algorithms The Distance vector (DV) algorithm Decentralized routing algorithm Computes the "best" path in a distributed way Each router computes the costs of its own attached links Shares the route information only with immediate neighbours The router will gradually learns the least-cost path by iterative computation and information exchange with its neighbors. Path determination Length of the path The number of intermediate routers, "hops" 151

131 Distance Vector Protocols Routing Information Protocol, RIPv1 and RIPv2 Utilizes the DV algorithm and sends regular update messages Stores routing changes in the routing table. Transmitts its entire routing table to neighboring routers Uses Split Horizon with Poison Reverse technique to reduce the chance of forming loops and use a maximum number of hops to counter the count-to-infinity problem. Split Horizon: prohibiting a router from advertising a route back onto the interface from which it was learned. Poison Reverse: a router sends updates with unreachable hop counts back to the sender for every route received to help prevent routing loops Interior Gateway Routing Protocol, IGRP Invented by Cisco to overcome RIP limitations Routes exchange routing data within an autonomous system Multiple metrics for each route, including bandwidth, delay, load, MTU, and reliability To compare two routes these metrics are combined together into a single metric, using a formula which can be adjusted through the use of pre-set constants. A classful routing protocol No subnet mask field All addresses are assumed to have the same subnet mask 152

132 Path Vector Algorithms A path vector protocol maintains the path information that gets updated dynamically. Updates which have looped through the network and returned to the same node are easily detected and discarded. This algorithm is sometimes used in Bellman-Ford routing algorithms to avoid "Count to Infinity" problems. It is different from the distance vector routing and link state routing. Back entry in the routing table contains the destination network, the next router and the path to reach the destination. Path vector protocols are a class of Distance Vector protocols in contrast to Link State protocols.

133 Path Vector Protocols Border Gateway Protocol, BGP Not a pure DV protocol, but sometimes counts as one (is a PV protocol) A distance-vector protocol calculates routes based only on link costs For BGP, the local route preference value takes priority over the link cost. The core routing protocol of the Internet BGP State machine: 154

134 Link State Algorithms Link State (LS) algorithms Routers keep routing tables with the topology of the entire network. Each router broadcasts its attached links and link costs to all other routers in the network. When a router receives these broadcasts it runs the LS algorithm and calculates its own set of least-cost paths. Any change of the link state will be sent everywhere in the network, so that all routers keep the same routing table information. 155

135 Link State protocols Open Shortest Path First, OSPF Interior Gateway Protocol Intermediate System to Intermediate System, IS-IS "i-sys" Interior Gateway Protocol It operates by reliably flooding topology information throughout a network of routers. Each router then independently builds a picture of the network's topology. Packets or datagrams are forwarded based on the best topological path through the network to the destination. IS-IS uses Dijkstra's algorithm for computing the best path through the network.

136 The OSPF Protocol Open Shortest Path First (OSPF) LS algorithm. An OSPF router Identifies the routers and subnets that are directly connected to it Broadcasts the information to all the other routers. Broadcast updates inform of changes and not the entire routing table. Link-state advertisements (LSAs) Each router builds a table of what the whole network looks like. Each router can identify the subnetworks and routers that lead to any destination. OSPF metrics for path determination Hops, bandwidth, load and delay. Control over the routing process since the parameters can finely tuned. 157

137 OSPF Open Shortest Path First (OSPF) Based upon RFC 2328, with compatibility to RFC OSPF routes IP packets based only on the destination IP address No encapsulation as they transit the Autonomous System (AS). OSPF quickly detects topological changes in the AS Calculates new loop-free routes after a period of time. Each router constructs a tree of shortest paths to each destination in the AS itself as root Authentication OSPF protocol exchanges can be authenticated. Only routers with correct authentication can join the Autonomous System None, passphrase or MD5 digest Separate authentication methods for each Autonomous System 158

138 OSPF Areas OSPF Areas OSPF allows sets of networks to be grouped together to an area The topology of an area is hidden from the rest of the AS Reduces the amount of routing traffic The area protected from bad routing data An area is a generalization of an IP subnetted network 159

139 OSPF Area Terms Areas An area consists of networks and hosts within an AS that have been grouped together. Internal Routers All interfaces on internal routers are directly connected to networks within the area. The topology of an area is hidden from the rest of the AS. ABR Area Border Router Routers that have interfaces in more than one area A separate topological database for each area 160

140 OSPF Area Terms ASBR Autonomous System Boundary Router Exchange routing information with routers in other Autonomous Systems Advertise externally learned routes Backbone Areas All OSPF networks have at least the backbone area, ID 0 All other areas should be connected to this Distribute routing information between the connected areas Areas not directly connected to the backbone need a virtual link to it Virtual links Linking an area without direct connection to the backbone Linking the backbone in case of a partitioned backbone 161

141 OSPF Area Terms Stub Areas AS external advertisements are not flooded to these areas The router will advertise a default route so routers in the stub area can reach destinations outside the area. Transit Areas Transit areas are used to pass traffic from an area that is not directly connected to the backbone area. 162

142 OSPF DR / BDR Designated Router / Backup Designated Router Each OSPF broadcast network has a DR and a BDR The OSPF hello protocol help elect the DR and BDR based on the priorities advertised by all routers If there already is an DR on the network The new router will accept that, regardless of its own router priority 163

143 OSPF Neighbours Neighbours Routers in the same area become neighbors. Neighbors are elected via the Hello protocol. Hello packets are sent periodically out of each interface using IP multicast. Routers become neighbors as soon as they see themselves listed in the neighbor's Hello packet. Two way communication is guaranteed. Neighbour States Down Init This is the initial state of the neighbor relationship. When a HELLO packet is received from a neighbor, but does NOT include the Router ID of the gateway in it, the neighbor will be placed in Init state. When the neighbor receives a HELLO packet it will know the sending routers' Router ID and will send a HELLO packet with that included. The state of the neighbors will change to 2-way state. 164

144 OSPF Neighbour States 2-Way Communication between the router and the neighbor is bi-directional. On Point-to-Point and Point-to-Multipoint interfaces, the state will be changed to Full. On Broadcast interfaces, only the DR/BDR will advance to Full state with their neighbors, all the remaining neighbors will remain in the 2-Way state. ExStart Preparing to build adjacency. Exchange Routers are exchanging Data Descriptors. Loading Full Routers are exchanging LSAs. This is the normal state of an adjacency between a router and the DR/BDR. 165

145 OSPF Aggregation OSPF Aggregation Combines groups of routes with common addresses into a single entry in the routing table Minimize the routing table 166

146 Virtual Links Virtual links Linking an area that does not have a direct connection to the backbone. The backbone must be the center of all areas A logical path to the backbone area Established between two ABRs that are on one common area, with one of the ABRs connected to the backbone area. Linking the backbone in case of a partitioned backbone. 167

147 OSPF High Availability Support Limitations in High Availability support for OSPF The nodes in an HA cluster runs separate OSPF processes The inactive node will make sure it is not the preferred choice for routing They will not form adjacency with each other They are not allowed to become DR/BDR on broadcast networks. This is done by forcing the router priority to 0 Broadcast Interface HA must have a broadcast interface with at least ONE neighbour for ALL areas it is attached to. The inactive part of the cluster needs a neighbour to get the link state database from. It is not possible to put an HA cluster on the same broadcast network without any other neighbours They won't form adjacency with each other because of the router priority 0 It may be possible to setup a point-to-point link between them instead. 3 separate links: one to the shared, one the master and one to the slave router ID 168

148 Dynamic Routing Rules Dynamic Routing Rules Routers need to regulate how they participate in the routing exchange Not accept or trust all received routing information Avoid that parts of the routing database gets published to other routers Regulates the flow of dynamic routing information Filters either statically configured or OSPF learned routes Origin of the routes, destination, metric and so on. Matched routes are controlled by actions: Exported to OSPF processes Added to one or more routing tables 169

149 Dynamic Routing Rule Usage Common usage Importing OSPF routes from an OSPF process into a routing table. Exporting routes from a routing table to an OSPF process. Exporting routes from one OSPF process to another. By default, cos Core will not import or export any routes. It is mandatory to define at least one Dynamic Routing Policy rule. 170

150 Exercise: OSPF Import Routes Objectives Use OSPF to import the other groups internal networks with their public IP as gateway. See picture of network setup. What you will know How to use OSPF 171

151 Exercise: Scenario Scenario The local routes are imported from the peer group (Y) Shared LAN /16 Group X WAN: X.1 LAN: X.1 Group Y WAN: Y.1 LAN: Y.1 Group X Group Y 172

152 Exercise: New Router Process Network > Routing > OSPF Add an OSPF Router Process Name: Group_X Ref. BW: 100 Mbps Enable Logging 173

153 Exercise: OSPF Area Open the Router Process Add a New OSPF Area, Name: area0 Area ID: Sometimes you must enter , Save & Activate, then change it back to

154 Exercise: OSPF Interfaces Open the OSPF Area Add two OSPF Interfaces wan, wan_net lan, lan_net 175

155 Exercise: Dynamic Routing Rules Network > Routing > Routing Rules Add a Dynamic Routing Rule Name: OSPF_Import From OSPF As: Group_X Dest net is within: All-nets Enable Logging 176

156 Exercise: Routing Actions Define where to import routes by creating a New Routing Action Import to the Main routing table 177

157 Exercise: Test the OSPF scenario Save & Activate Deploy the configuration in both peer groups, then look at the routes CLI: with the routes command WebUI: Status > Routes, "Show all routes" enabled You should get the local networks of all peer groups imported to your main routing table To communicate with them, IP Rules are needed Device:> routes Flags Network Iface Gateway Local IP Metric /24 lan /16 wan 0 O /24 wan O /24 wan /0 wan O means imported by OSPF 178

158 Exercise: CLI, OSPF command Open the CLI, Look at the OSPF configuration: OSPF Group_X Old screen shot: 179

159 Multicast Routing

160 Multicast Routing Overview Conferencing and audio/video broadcasts require a single computer to send the same packet to multiple receivers. Unicast The sender duplicates the packet with different receiving IP addresses Does not scale well to large numbers of receivers Broadcast Broadcast of the packet across the internet/network All nodes in the network receives the packets, wasting resources on nodes not interested in the packets. Broadcasts will be filtered out, not reaching some listeners 181

161 Multicast Routing Overview Multicast Routing The network routers replicates and forwards packets via the optimum route to all members of a multicast group. The IETF standards that enable Multicast Routing are: Class D of the IP address space which is reserved for multicast traffic. Each multicast IP address represent an arbitrary group of recipients /4 Internet Group Membership Protocol (IGMP) Receivers tells the network that it is a member of a particular multicast group Problems Protocol Independent Multicast (PIM) is a group of routing protocols for deciding the optimal path for multicast packets. PIM routers duplicate and forward packets to all members PIM uses the routing information from existing protocols, such as OSPF, to decide the optimal path (distribution tree) Nodes not compatible or filtering out Multicast will stop the flow of packets to downstream nodes. 182

162 Reverse Path Forwarding Reverse Path Forwarding For unicast traffic, a router is concerned only with a packet's destination With multicast, the router is also concerned with a packet's source It forwards the packet on paths which are known to be downstream, away from the packet's source. Prevent loops in the distribution tree. 183

163 IGMP IGMP messages are IP packets with IP Protocol number 2. IGMP Reports Hosts send reports towards routers to subscribe/change multicast groups IGMP Queries Routers send queries to clients to see if they still want the multicast stream thereby refresh the group membership state for all systems on its network

164 IGMP IGMP Queries Group-Specific Queries Determining the reception state for a particular multicast address Group-and-Source-Specific Queries State for reception of messages sent to a multicast group from a specific source address

165 IGMP Snoop and Proxy Mode Snoop mode Transparent forwarding of queries and reports Proxy mode Act as an IGMP router Send queries to clients Subscribe to multicast groups on behalf of its clients

166 Multicast in cos Core Multicast components Routing By default multicast packets are routed to the Core interface /4 SAT Multiplex IP Rules Forwards the packets to one or more interfaces. IGMP can be required to only send to interfaces with listeners, or without to send to all specified interfaces all the time. IP Rule with Allow or NAT is also needed. It must be stateful forwarding. IGMP Rules Filters and control IGMP traffic. Note Address translation can be performed Ethernet interfaces must have multicast handling set to On or Auto. 187

167 SAT Multiplex Rules SAT Multiplex rule Achieve duplication and forwarding of multicast packets through more than one interface. This rule overrides the normal routing tables, so packets that should be duplicated by the multiplex rule are routed to the core interface for processing /4 is by default core routed Each specified output interface can be configured with static address translation of the destination address. The Interface field in the Interface/Net dialog of the Multiplex SAT rule can be left empty if the IP Address field is set The output interface will be determined by a route lookup on the specified IP address 188

168 SAT Multiplex Rules The multiplex rule can operate in one of two modes: Use IGMP The traffic flow specified by the multiplex rule must have been requested by hosts using IGMP before any multicast packets are forwarded through the specified interfaces. This is the default behaviour of cos Core. Not using IGMP The traffic flow will be forwarded according to the specified interfaces directly without any inference from IGMP. An Allow or NAT rule has to be specified together with the Multiplex rule. Fwdfast will not work, as a lot of extra operations would be needed on each packet, instead of now and then. The state engine takes care of it much better. 189

169 Exercise based on "Forwarding of Multicast Traffic using the SAT Multiplex Rule" and "IGMP - No Address Translation" in cos Core Admin Guide, chapter Multicast Routing 190 Exercise: Multicast without NAT Objectives Use IGMP to do forwarding of Multicast Traffic using the SAT Multiplex Rule What you will know How to forward Multicast Traffic How to handle IGMP reports and queries Use SAP Announce to advertise the stream What you need VLC Player ( Increase the TTL of VLC streams to 5+

170 Exercise: Scenario Multicast sender is , generating a multicast stream over UDP /24:1234. Forward from Wan to Lan and optionally to other internal interfaces The streams should only be forwarded if a host has requested the streams using the IGMP protocol. Upstream Multicast Router X.0/24 191

171 Exercise: What to do A UDP service for port 1234 A Multiplex IP Rule to forward the multicast groups /24:1234 to the interfaces lan and other internal interfaces All groups have the same sender, , which is located somewhere upstream of the wan interface. IP Rules for IGMP and SAP announcements IGMP Rules for each internal interface, with Wan as upstream interface Require IGMP to forward to an interface 192

172 Exercise: Services Create a Custom UDP service Name: UDP_1234 Type: UDP Source: Destination: 1234

173 Exercise: Multiplex IP Rule Create a Multiplex SAT Rule Name: Multiplex Action: Multiplex SAT Service: UDP_1234 Source if: wan Source net: Dest: core Dest net: /24 Open the Multiplex SAT tab 194

174 Exercise: Multiplex SAT Tab On the Multiplex SAT tab Add the destination interface Lan Optionally: dmz, and other internal interfaces Make sure the "use IGMP" is enabled 195

175 Exercise: IP Rules Add more IP rules (1, 3, 4 below), and sort them as follows IGMP_Core Allow any all-nets core all-nets IGMP Multiplex Multiplex_SAT wan core /24 UDP_1234 Multiplex: lan Multicast Allow wan core /24 UDP_1234 SAP_Announcements Allow any all-nets core /16 All_services 196

176 Exercise: IGMP Rules Add Snoop rules for each of the internal interfaces (or make an interface group!) Network > Routing > IGMP Rules Name: IGMP_<iface> Type: Report Action: Snoop Relay interface: Wan Source If: lan Source net: lan_net Dest: core Multicast src: /4 Multicast Group: all-nets 197

177 Exercise: Save & Activate Save & Activate Now, let's setup VLC Server (classroom computer) that sends the stream Client (you) opening the stream Install the latest version of VLC Resources folder... or

178 Exercise: VLC Server VLC settings on the Server side Open the file and create the multicast stream from To UDP/1234 VLC > Media > Advanced Open File Add the file (Firewall.mpg from Resources) Click Play > Stream (Alt+S) Next New Destination: UDP (legacy), Add Activate Transcoding: Video Mpeg-2 + MPGA(TS) Next TTL = 5 (or more) (you will need to set this in the Advanced Preferences) Stream Press the Play icon for each time 199

179 Exercise: VLC Client VLC settings on the Client side Open the multicast stream (Ctrl-N) udp:// :1234 The film should play now Check the System Log If TTL=1 on receiving, the outgoing packet would have TTL=0, which means it will (silently!) be dropped by the Clavister. Ask that the film is restarted if it has stopped This exercise is finished 200

180 Transparent Mode

181 Transparent Mode There are two methods to create transparency Switch Route Relays the ARP query Keeps track of who is on which interface CAM table No HA Support CAM table not synchronized No loop avoidance Clients can roam between interfaces, keeping the same IP CAM table updated when they do an ARP query If there is incoming traffic before the ARP query arrives, it will be sent to the wrong interface and become retransmitted after timeout. Hybrid mode When using regular routing together with Switch Routes. Proxy ARP Proxy ARP responds with the GW's MAC address. HA support No Roaming when keeping the same IP 202

182 Switch Route Switch Route ARP transactions pass through cos Core, who learns relationships between IP addresses, physical addresses and interfaces. Endpoints not aware of cos Core. CAM table updated ARP Query For X.2 ARP Query Forwarded Switch routed interfaces X X.2 203

183 Switch Route Learning from the ARP traffic cos Core learns the source address information for both ends from the ARP traffic Two tables to store this information: Content Addressable Memory (CAM) Tracks the MAC addresses available on a given interface. The Layer 3 Cache Maps an IP address to MAC address and interface. Only used for IP traffic Single host entries in the routing table CAM table MAC & Interface Routing Table Single host Routes 204

184 Listing IP Interface - MAC routes -switched verbose (cleaned up output!) Device:/> routes -switched -verbose Flags Network Iface MAC D ge6 0 Originator: Layer 3 Cache MAC: D ge1 0 Originator: Layer 3 Cache MAC: b d D ge4 0 Originator: Layer 3 Cache MAC: e a D ge4 0 Originator: Layer 3 Cache MAC: d D ge4 0 Originator: Layer 3 Cache MAC: bc-6c-1e-af D ge1 0 Originator: Layer 3 Cache MAC: d-e7-ca-e1 D ge4 0 Originator: Layer 3 Cache MAC: c9-8f D ge1 0 Originator: Layer 3 Cache MAC: a-fe-af-14 D ge1 0 Originator: Layer 3 Cache MAC: 84-c9-b2-63-f1-29

185 Switch Route ARP Transactions Each IP packet passing cos Core triggers a route lookup for the destination. L3 Cache / Switch Route Handle packet in a transparent manner If the route matches a Layer 3 Cache entry Destination interface and MAC address are available Forward the packet to the destination. If the route is a Switch Route No specific information about the destination is available Discover where the destination is located in the network! CAM table MAC & Interface Routing Table Single host Routes 206

186 Switch Route Destination Discovery cos Core sends out ARP and ICMP (ping) requests Acting as the initiating sender of the original IP packet On the interfaces specified in the Switch Route If an ARP reply is received Update the CAM table and Layer 3 Cache Forward the packet to the destination CAM table MAC & Interface Routing Table Single host Routes 207

187 Switch Route Full table If the CAM table or the Layer 3 Cache is full, the tables are partially flushed automatically. The discovery mechanism of sending ARP and ICMP requests is used to rediscover active destinations that may have been flushed. CAM table flushed ARP Ping Broadcast Host ARP Ping Broadcast host Switch routed interfaces X X.2 208

188 Exercise: Transparent Mode using Switch Route Objectives Use Switch Route to make the Clavister transparent. What you will know How to setup Switch Routes and how they operate. Note! Only one group at a time can be connected to the Classroom SeGW! Example taken from: cos Core Admin Guide Chapter Transparent Mode Setting up Transparent Mode - Scenario 1 209

189 Exercise: Scenario Description of the scenario cos Core is placed transparently between a NAT:ing router and the internal network. LabPCs on the internal network is in the X.0/16 address space. cos Core can this way do traffic inspection without changes to existing equipment GroupX GW lan wan gw= Classroom GW X.0/16 210

190 Exercise: Restore basic setup Restore the initial configuration We have done so many labs already. We need to start with a fresh configuration.

191 Exercise: Address Book Name IP External side wan_ip X.1 wan_net /16 wan_gw Internal side lan_ip X.1 lan_net /16 212

192 Exercise: Interface Group Add the lan and wan interfaces. Enable S/T Equivalent It allows the hosts to move freely between the switch routed interfaces. 213

193 Exercise: Routes Add a switch route to connect the Interface Group with the shared network. Remove all other routes to the common network (wannet) and the interfaces (wan, lan) Open Interfaces > Ethernet > <iface> and on the Advanced tab, remove the Automatic Route Creation for local routes. The all-nets route is needed for Antivirus/IDP updates, NTP etc 214

194 Exercise: IP Rules Add inbound and outbound rules The Interface Group can be used or not in the IP Rules, depending on scenario and effect wanted. Server01 = X.2 Use Add new object

195 Exercise: Save & Activate Remote Management > Advanced Settings Validation Timeout: 90 seconds (or more) Lan_net is updated to the new value, so management should work with the new config. Save and Activate Now you have 90 seconds to change the IP of the Lab PC and login: IP = X.2 Mask = GW = DNS = Try to login to to do the validation of the configuration You should be able to access the Internet and study the System Log The exercise is finished 217

196 Exercise: Splitting a network to two interfaces Objectives Use Switch Route to connect servers to a separate interface, but on the same network as the clients. What you will know How to control the access to servers, even though they are in the same address range as the clients. Example taken from cos Core Admin Guide Chapter Transparent Mode Setting up Transparent Mode - Scenario 2 218

197 Exercise: Scenario All hosts connected to LAN and DMZ share the X.0/24 address space. Any IP address can be used for the servers Hosts on the internal network does not know if a resource is on the same network or placed on the DMZ The hosts on the internal network are allowed to communicate with an HTTP server on DMZ The HTTP server on the DMZ can be reached from the internet. dmz lan wan gw= X.0/24 219

198 Exercise: Address Book IP Name External X.1 wan_ip /16 wan_net wan_gw Internal X X.0/24 lan_ip lan_net X X.0/24 dmz_ip dmz_net X.2 server_ip 220

199 Exercise: Interface Group Add the lan and dmz interfaces. S/T Equivalent should not be needed It allows the hosts to move freely between the switch routed interfaces and no hosts should be moving around here. 221

200 Exercise: Routes Add a switch route to connect the Interface Group with the shared network. Remove all other routes to Lan_net Dmz_net 222

201 Exercise: IP Rules Add inbound and outbound rules The Interface Group can be used or not in the rules depending on scenario and effect wanted. Outbound: All can reach the Internet with DNS and HTTP Lan-Dmz: Lan can reach HTTP on Dmz 223

202 Exercise: Testing Testing the setup Need several LabPCs (Not possible in Online course) Ping simulation is one method available Set the IP of your lab PC to X.2, put it on dmz (Online: Ask the trainer) and it should be possible to access its web server from the Lan interface Device:> ping X.2 -srcip= x.3 -srcif=lan -tcp -port=80 -verbose This exercise is finished. 224

203 Exercise: Transparent Mode using Proxy ARP Objectives Use Proxy ARP to create a Transparent Security Gateway What you will know How to setup Transparent Mode with Proxy ARP 225

Configuration examples for the D-Link NetDefend Firewall series DFL-210/800/1600/2500

Configuration examples for the D-Link NetDefend Firewall series DFL-210/800/1600/2500 Configuration examples for the D-Link NetDefend Firewall series DFL-210/800/1600/2500 Scenario: How to configure VLAN and route failover Last update: 2007-01-31 Overview In this document, the notation

More information

Configuration examples for the D-Link NetDefend Firewall series

Configuration examples for the D-Link NetDefend Firewall series Configuration examples for the D-Link NetDefend Firewall series Scenario: How to configure VLAN Platform Compatibility: All NetDefend Firewall Series Last update: 2008-03-10 Overview In this document,

More information

Lab 4: Routing using OSPF

Lab 4: Routing using OSPF Network Topology:- Lab 4: Routing using OSPF Device Interface IP Address Subnet Mask Gateway/Clock Description Rate Fa 0/0 172.16.1.17 255.255.255.240 ----- R1 LAN R1 Se 0/0/0 192.168.10.1 255.255.255.252

More information

Unit 3: Dynamic Routing

Unit 3: Dynamic Routing Unit 3: Dynamic Routing Basic Routing The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. Routers don t really care about

More information

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1 Table of Contents 1 Static Routing Configuration 1-1 Introduction 1-1 Static Route 1-1 Default Route 1-1 Application Environment of Static Routing 1-1 Configuring a Static Route 1-2 Configuration Prerequisites

More information

MikroTik RouterOS Training. Routing. Schedule. Instructors. Housekeeping. Introduce Yourself. Course Objective 7/4/ :00 10:30 Morning Session I

MikroTik RouterOS Training. Routing. Schedule. Instructors. Housekeeping. Introduce Yourself. Course Objective 7/4/ :00 10:30 Morning Session I MikroTik RouterOS Training Routing Schedule 09:00 10:30 Morning Session I 10:30 11:00 Morning Break 11:00 12:30 Morning Session II 12:30 13:30 Lunch Break 13:30 15:00 Afternoon Session I 15:00 15:30 Afternoon

More information

Chapter 8 Configuring OSPF

Chapter 8 Configuring OSPF Chapter 8 Configuring OSPF This chapter describes how to configure OSPF on HP routing switches using the CLI and Web management interface. To display OSPF configuration information and statistics, see

More information

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1 Which statement about stateless autoconfiguration is true? A host can autoconfigure itself by appending its MAC address to the local link prefix (64 bits). 2 Autoconfiguration allows devices to connect

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Original slides by Cisco Press & Priscilla Oppenheimer Selection Criteria for Switching and Routing Protocols Network traffic

More information

Symbols. Numerics I N D E X

Symbols. Numerics I N D E X I N D E X Symbols? (question mark), CLI help system, 126 Numerics A 2-router BGP topology, configuring, 279 284 4-router BGP topology, configuring, 266, 276 279 ABRs (area border routers), 9, 87, 95, 141

More information

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents Table of Contents Table of Contents Chapter 1 Static Routing Configuration... 1-1 1.1 Introduction... 1-1 1.1.1 Static Route... 1-1 1.1.2 Default Route... 1-1 1.1.3 Application Environment of Static Routing...

More information

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics. EECS 122, Lecture 16 Kevin Fall kfall@cs.berkeley.edu edu Link Costs and Metrics Routing protocols compute shortest/cheapest paths using some optimization criteria Choice of criteria has strong effect

More information

Internet Routing Protocols Tuba Saltürk

Internet Routing Protocols Tuba Saltürk Internet Routing Protocols 15505068 Tuba Saltürk Outline Internet Routers Routing Protocol Interior Gateway Protocol (IGP) Distance- Vector Routing Protocol Routing Information Protocol (RIP) Interior

More information

Basic Idea. Routing. Example. Routing by the Network

Basic Idea. Routing. Example. Routing by the Network Basic Idea Routing Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP Appendix D Memory Tables Chapter 1 Table 1-2 Routing Protocol Characteristics Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP Chapter 3 Table 3-2 Hexadecimal/Binary

More information

OSPF. OSPF processs can be enabled on 2 levels

OSPF. OSPF processs can be enabled on 2 levels OSPF UDP port 89 Metic cost Link state protocol Flood the link state information in the entire topology Builds the topology table Stores in LSDB Runs SPF(Djsktra algorithm) for best path to reach destination

More information

Routing by the Network

Routing by the Network Routing Basic Idea Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Introduction to OSPF

Introduction to OSPF Introduction to OSPF 1 OSPF Open Shortest Path First Link state or SPF technology Developed by OSPF working group of IETF (RFC 1247) OSPFv2 standard described in RFC2328 Designed for: TCP/IP environment

More information

cisco. Number: Passing Score: 800 Time Limit: 120 min.

cisco. Number: Passing Score: 800 Time Limit: 120 min. 300-101.cisco Number: 300-101 Passing Score: 800 Time Limit: 120 min Exam A QUESTION 1 Examine the following output of the show ip ospf interface command. What would be the effect of executing the auto-cost

More information

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability.

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability. Vendor: Alcatel-Lucent Exam Code: 4A0-101 Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability Version: Demo QUESTION 1 When a router receives an IP packet, but does not find a match

More information

TDC 363 Introduction to LANs

TDC 363 Introduction to LANs TDC 363 Introduction to LANs OSPF Greg Brewster DePaul University TDC 363 Greg Brewster, DePaul University 1 OSPF Link State Routing Algorithms Open Shortest Path First (OSPF) Message Types Operations

More information

REDDIG II Computer Networking Training

REDDIG II Computer Networking Training REDDIG II Computer Networking Training JM SANCHEZ / PH RASSAT -20/06/2012 Invierno 2011 Capacitacion en fabrica - CORPAC Dynamic Routing Dynamic Routing Function(s) of Dynamic Routing Protocols: Dynamically

More information

Introduction to OSPF

Introduction to OSPF Introduction to OSPF ISP/IXP Workshops ISP/IXP Workshops 1999, Cisco Systems, Inc. 1 Agenda OSPF Primer OSPF in Service Provider Networks OSPF BCP - Adding Networks OSPF Command Summary 2 OSPF Primer 3

More information

9.1. Routing Protocols

9.1. Routing Protocols 9.1. Routing Protocols Each organization that has been assigned a network address from an ISP is considered an autonomous system (AS). That organization is free to create one large network, or divide the

More information

IP Protocols. ALTTC/Oct

IP Protocols. ALTTC/Oct IP Protocols Internet or IP technology over the years has emerged as the most prominent data communication technology. TCP/IP protocol has become de-facto data comm standard throughout the world. It can

More information

FSOS IP Routing Command Line Reference

FSOS IP Routing Command Line Reference FSOS IP Routing Command Line Reference Contents 1 IP Unicast-Routing Commands... 7 1.1 ip address...7 1.2 ip icmp error-interval... 9 1.3 ip redirects...10 1.4 ip unreachables...11 1.5 ip verify unicast

More information

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full CCNA 3 (v5.0.3 + v6.0) Chapter 5 Exam Answers 2017 100% Full ccnav6.com /ccna-3-v5-0-3-v6-0-chapter-5-exam-answers-2017-100-full.html CCNA Exam Answers 2017 CCNA 3 (v5.0.3 + v6.0) Chapter 5 Exam Answers

More information

IP Routing Tecnologie e Protocolli per Internet II rev 1

IP Routing Tecnologie e Protocolli per Internet II rev 1 IP Routing Tecnologie e Protocolli per Internet II rev 1 Andrea Detti Electronic Engineering dept. E-mail: andrea.detti@uniroma2.it Some sources: Cisco CCNA Routing and Switching ICND1 and ICND2 Slide

More information

Unicast Routing. TCP/IP class

Unicast Routing. TCP/IP class Unicast Routing TCP/IP class Routing Protocols intro RIP and son of RIP OSPF BGP odd bodkins NAT TCP/IP Internetworking Protocols 2 divide routing world into 3 parts topology IETF ISO/OSI same link or

More information

Routing Overview. Information About Routing CHAPTER

Routing Overview. Information About Routing CHAPTER 21 CHAPTER This chapter describes underlying concepts of how routing behaves within the ASA, and the routing protocols that are supported. This chapter includes the following sections: Information About

More information

EEC-684/584 Computer Networks

EEC-684/584 Computer Networks EEC-684/584 Computer Networks Lecture 14 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of last lecture Internetworking

More information

Vanguard Managed Solutions

Vanguard Managed Solutions Vanguard Managed Solutions Vanguard Applications Ware IP and LAN Feature Protocols Open Shortest Path First (OSPF) Notice 2003 Vanguard Managed Solutions, LLC 575 West Street Mansfield, Massachusetts 02048

More information

IPv4 IGP Troubleshooting. IPv4 Routing Workflow. IPv4 routing can be subdivided into three discrete steps

IPv4 IGP Troubleshooting. IPv4 Routing Workflow. IPv4 routing can be subdivided into three discrete steps Internetwork Expert s CCNP Bootcamp IPv4 IGP Troubleshooting http:// IPv4 Routing Workflow IPv4 routing can be subdivided into three discrete steps Routing lookup Switching method Layer 2 encapsulation

More information

Chapter 7 Routing Protocols

Chapter 7 Routing Protocols Chapter 7 Routing Protocols Nonroutable Protocols In the early days of networking, networks were small collections of computers linked together For the purposes of sharing information and expensive peripherals

More information

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25.

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. Routing Protocol Seiya Tsubone The University of Tokyo Apr. 25. 2013 Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25. 2013 1 / 60 Table of Contents 1 The Concept of Routing 2 RIP 3 OSPF

More information

Table of Contents 1 OSPF Configuration 1-1

Table of Contents 1 OSPF Configuration 1-1 Table of Contents 1 OSPF Configuration 1-1 Introduction to OSPF 1-1 Basic Concepts 1-2 OSPF Area Partition 1-4 Router Types 1-7 Classification of OSPF Networks 1-9 DR and BDR 1-9 OSPF Packet Formats 1-11

More information

Configuring OSPF. Cisco s OSPF Implementation

Configuring OSPF. Cisco s OSPF Implementation Configuring OSPF This chapter describes how to configure OSPF. For a complete description of the OSPF commands in this chapter, refer to the OSPF s chapter of the Network Protocols Reference, Part 1. To

More information

Routing. Advanced Computer Networks: Routing 1

Routing. Advanced Computer Networks: Routing 1 Routing Advanced Computer Networks: Routing 1 Gateway To internet or wide area network Metropolitan Area Network (MAN) s s Organization Servers Backbone R S R R Departmental Server s R S R s S R s s s

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Network Layer IV Dmitri Loguinov Texas A&M University April 12, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter

More information

FiberstoreOS IP Routing Command Line Reference

FiberstoreOS IP Routing Command Line Reference FiberstoreOS IP Routing Command Line Reference Contents 1 IP Unicast-Routing Commands...6 1.1 ip address...6 1.2 ip icmp error-interval...7 1.3 ip redirects... 8 1.4 ip unreachables...9 1.5 ip verify unicast

More information

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm Last time Transitioning to IPv6 Tunneling Gateways Routing Graph abstraction Link-state routing Dijkstra's Algorithm Distance-vector routing Bellman-Ford Equation 10-1 This time Distance vector link cost

More information

Routing Protocols. Technology Description BGP CHAPTER

Routing Protocols. Technology Description BGP CHAPTER CHAPTER 11 This chapter describes the level of support that Cisco ANA provides for routing protocols, as follows: Technology Description, page 11-1 Information Model Objects (IMOs), page 11-3 Vendor-Specific

More information

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer 1 Switching 2 Page 1 Objectives MAC address table Describe the features

More information

Implementing Cisco IP Routing (ROUTE)

Implementing Cisco IP Routing (ROUTE) Implementing Cisco IP Routing (ROUTE) Foundation Learning Guide Foundation learning for the ROUTE 642-902 Exam Diane Teare Cisco Press 800 East 96th Street Indianapolis, IN 46240 Implementing Cisco IP

More information

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs).

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs). Introduction Dynamic routing is when protocols are used to find networks and update routing tables on routers. True, this is easier than using static or default routing, but it ll cost you in terms of

More information

Avaya M-MLS Routing Manager User Guide

Avaya M-MLS Routing Manager User Guide Avaya M-MLS Routing Manager User Guide April 2002 Avaya M-MLS Routing Manager User Guide Copyright Avaya Inc. 2002 ALL RIGHTS RESERVED The products, specifications, and other technical information regarding

More information

Part II. Chapter 3. Determining IP Routes

Part II. Chapter 3. Determining IP Routes Part II Chapter 3 Routers perform two main functions: switching and routing. The switching function is the process of moving packets from an inbound interface to an outbound interface. The switching function

More information

How to configure IPSec VPN failover

How to configure IPSec VPN failover How to configure IPSec VPN failover This scenario shows how both firewalls can be configured IPSec VPN failover between two WAN links. Either of WAN links is broken, all VPN traffic will be on-line redirected

More information

Configuring IP Unicast Routing

Configuring IP Unicast Routing CHAPTER 39 This chapter describes how to configure IP Version 4 (IPv4) unicast routing on the switch. Unless otherwise noted, the term switch refers to a standalone switch and to a switch stack. A switch

More information

OSPF Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-61

OSPF Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-61 OSPF Commands Use the commands in this chapter to configure and monitor the Open Shortest Path First (OSPF) routing protocol. For OSPF configuration information and examples, refer to the Configuring OSPF

More information

Information About Routing

Information About Routing 19 CHAPTER This chapter describes underlying concepts of how routing behaves within the adaptive security appliance, and the routing protocols that are supported. The chapter includes the following sections:,

More information

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016 9/9/6 S 7 Networking and the Internet Fall 06 Shortest-Path Problem Given: network topology with link costs c(x,y): link cost from node x to node y Infinity if x and y are not direct neighbors ompute:

More information

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of Contents Configuring OSPF 1 Introduction to OSPF 1 Basic concepts 1 Area based OSPF network partition 3 Router types 6 OSPF network classification 7 DR and BDR 8 OSPF packet formats 9 Supported features

More information

IPv6 Routing: OSPFv3

IPv6 Routing: OSPFv3 Open Shortest Path First version 3 (OSPFv3) is an IPv4 and IPv6 link-state routing protocol that supports IPv6 and IPv4 unicast address families (AFs). Finding Feature Information, page 1 Prerequisites

More information

EIGRP. About EIGRP. CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.7 1

EIGRP. About EIGRP. CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.7 1 This chapter describes how to configure the Cisco ASA to route data, perform authentication, and redistribute routing information using the Enhanced Interior Gateway Routing Protocol (). About, page 1

More information

ICS 351: Today's plan. netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing

ICS 351: Today's plan. netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing ICS 351: Today's plan netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing Netmask exercises how many bits in this netmask: 255.128.0.0 using this netmask and the

More information

Networking TCP/IP routing and workload balancing

Networking TCP/IP routing and workload balancing System i Networking TCP/IP routing and workload balancing Version 6 Release 1 System i Networking TCP/IP routing and workload balancing Version 6 Release 1 Note Before using this information and the product

More information

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles Building the Routing Table Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles Introducing the Routing Table R1# show ip route Codes: C - connected,

More information

FiberstoreOS IP Routing Configuration Guide

FiberstoreOS IP Routing Configuration Guide FiberstoreOS IP Routing Configuration Guide Contents 1 Configuring IP Unicast-Routing... 6 1.1 Overview...6 1.2 Topology... 6 1.3 Configuration... 6 1.4 Validation... 8 2 Configuring RIP... 10 2.1 Overview...10

More information

Chapter 16 OSPF Version 3 Commands

Chapter 16 OSPF Version 3 Commands Chapter 16 OSPF Version 3 Commands NOTE: The OSPF version 3 configuration level is present only on HP devices that support IPv6. area Assigns OSPF version 3 areas. You can assign an IPv4 address or a number

More information

Chapter 3 LAN Configuration

Chapter 3 LAN Configuration Chapter 3 LAN Configuration This chapter describes how to configure the advanced LAN features of your ProSafe Dual WAN Gigabit Firewall with SSL & IPsec VPN. This chapter contains the following sections

More information

Passit4Sure.4A Questions 4A Alcatel-Lucent Interior Routing Protocols and High Availability

Passit4Sure.4A Questions 4A Alcatel-Lucent Interior Routing Protocols and High Availability Passit4Sure.4A0-101.300Questions Number: 4A0-101 Passing Score: 800 Time Limit: 120 min File Version: 7.5 http://www.gratisexam.com/ 4A0-101 Alcatel-Lucent Interior Routing Protocols and High Availability

More information

Default & Static Routes and Routing Information Protocol. Presented by : Mohammed Hamad

Default & Static Routes and Routing Information Protocol. Presented by : Mohammed Hamad Default & Static Routes and Routing Information Protocol Presented by : Mohammed Hamad When a device has multiple paths to reach a destination, it always selects one path by preferring it over others.

More information

CIS 83 Midterm Spring 2004 Answer Sheet Name Score Grade Question Answer Question Answer

CIS 83 Midterm Spring 2004 Answer Sheet Name Score Grade Question Answer Question Answer CIS 83 Midterm Spring 2004 Answer Sheet Name: Score: Grade: Question Answer Question Answer 1 A B C D E F 51 A B C D E F 2 A B C D E F 52 A B C D E F 3 A B C D E F 53 A B C D E F 4 A B C D E F 54 A B C

More information

Operation Manual Routing Protocol. Table of Contents

Operation Manual Routing Protocol. Table of Contents Table of Contents Table of Contents Chapter 1 IP Routing Protocol Overview... 1-1 1.1 Introduction to IP Route and Routing Table... 1-1 1.1.1 IP Route... 1-1 1.1.2 Routing Table... 1-1 1.2 Routing Management

More information

FiberstoreOS IP Routing Configuration Guide

FiberstoreOS IP Routing Configuration Guide FiberstoreOS IP Routing Configuration Guide Contents 1 Configuring IP Unicast-Routing... 1 1.1 Overview... 1 1.2 Topology...1 1.3 Configuration... 2 1.4 Validation... 3 2 Configuring RIP...5 2.1 Overview...

More information

IBM i Version 7.2. Networking TCP/IP routing and workload balancing IBM

IBM i Version 7.2. Networking TCP/IP routing and workload balancing IBM IBM i Version 7.2 Networking TCP/IP routing and workload balancing IBM IBM i Version 7.2 Networking TCP/IP routing and workload balancing IBM Note Before using this information and the product it supports,

More information

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190 Chapter 17 OSPF Protocol Overview The Open Shortest Path First (OSPF) protocol is an interior gateway protocol (IGP) that routes packets within a single autonomous system (AS). OSPF uses link-state information

More information

FSOS IP Routing Configuration Guide

FSOS IP Routing Configuration Guide FSOS IP Routing Configuration Guide Contents 1 Configuring IP Unicast-Routing... 6 1.1 Overview... 6 1.2 Topology...6 1.3 Configuration... 7 1.4 Validation... 8 2 Configuring RIP...10 2.1 Overview... 10

More information

Configuring OSPF with CLI

Configuring OSPF with CLI OSPF Configuring OSPF with CLI This section provides information to configure Open Shortest Path First (OSPF) using the command line interface. Topics in this section include: OSPF Configuration Guidelines

More information

Routing Unicast routing protocols

Routing Unicast routing protocols Routing Unicast routing protocols Jens A Andersson Electrical and Information Technology R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 10 R5 1 Router A router is a type

More information

Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two)

Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two) ICND1 OSPF Questions Question 1 Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two) A. It is locally significant. B. It is globally significant. C.

More information

BTEC Level 3 Extended Diploma

BTEC Level 3 Extended Diploma BTEC Level 3 Extended Diploma Unit 9 Computer Network Routing and Routing Protocols BTEC Level 3 Extended Diploma Introduction to Routing Routing is the process that a router uses to forward packets toward

More information

EIGRP. Routing Protocols and Concepts Chapter 9. Video Frank Schneemann, MS EdTech

EIGRP. Routing Protocols and Concepts Chapter 9. Video Frank Schneemann, MS EdTech Video Frank Schneemann, MS EdTech EIGRP Routing Protocols and Concepts Chapter 9 ITE PC v4.0 Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1 9.0.1 Introduction Enhanced Interior

More information

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP IP ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP Peter R. Egli 1/37 Contents 1. IP Routing 2. Routing Protocols 3. Fragmentation in the IP Layer 4. Proxy ARP 5. Routing and IP forwarding

More information

User Guide TL-R470T+/TL-R480T REV9.0.2

User Guide TL-R470T+/TL-R480T REV9.0.2 User Guide TL-R470T+/TL-R480T+ 1910012468 REV9.0.2 September 2018 CONTENTS About This Guide Intended Readers... 1 Conventions... 1 More Information... 1 Accessing the Router Overview... 3 Web Interface

More information

Configuring EIGRP. Overview CHAPTER

Configuring EIGRP. Overview CHAPTER CHAPTER 24 This chapter describes how to configure the adaptive security appliance to route data, perform authentication, and redistribute routing information, using the Enhanced Interior Gateway Routing

More information

ITEC310 Computer Networks II

ITEC310 Computer Networks II ITEC310 Computer Networks II Chapter 22 Network Layer:, and Routing Department of Information Technology Eastern Mediterranean University Objectives 2/131 After completing this chapter you should be able

More information

Configuring IP Unicast Routing

Configuring IP Unicast Routing CHAPTER 40 This chapter describes how to configure IP Version 4 (IPv4) unicast routing on the Catalyst 3750-E or 3560-E switch. Unless otherwise noted, the term switch refers to a Catalyst 3750-E or 3560-E

More information

Configuring Networking Protocols

Configuring Networking Protocols 11 CHAPTER This chapter describes how to configure the ML-Series card for supported IP routing protocols. It is intended to provide enough information for a network administrator to get the protocols up

More information

Setting Up Virtual Routers

Setting Up Virtual Routers Virtual Routers The following topics describe how to set up virtual routers in the Firepower System: Virtual Routers, on page 1 Routed Interfaces, on page 2 Configuring Physical Routed Interfaces, on page

More information

Nortel Ethernet Routing Switch 5000 Series Configuration IP Routing Protocols. Release: 6.1 Document Revision:

Nortel Ethernet Routing Switch 5000 Series Configuration IP Routing Protocols. Release: 6.1 Document Revision: Configuration IP Routing Protocols Release: 6.1 Document Revision: 05.01 www.nortel.com NN47200-503. . Release: 6.1 Publication: NN47200-503 Document release date: 25 May 2009 While the information in

More information

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 22-3 UNICAST ROUTING PROTOCOLS 22.2 A routing

More information

Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of opaque LSAs 40 Configuring OSPF to

Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of opaque LSAs 40 Configuring OSPF to Contents Configuring OSPF 1 Introduction to OSPF 1 Basic concepts 1 OSPF areas 3 Router types 6 OSPF network classification 7 DR and BDR 8 OSPF packet formats 9 Supported OSPF features 17 Protocols and

More information

Question: 3 Which LSA type describes the router ID of ASBR routers located in remote areas?

Question: 3 Which LSA type describes the router ID of ASBR routers located in remote areas? Volume: 65 Questions Question: 1 Which two statements describe aggregate routes? (Choose two.) A. Invalid routing prefixes are not advertised to external peers. B. Internal routing instabilities can be

More information

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

ETSF05/ETSF10 Internet Protocols. Routing on the Internet ETSF05/ETSF10 Internet Protocols Routing on the Internet Circuit switched routing ETSF05/ETSF10 - Internet Protocols 2 Routing in Packet Switching Networks Key design issue for (packet) switched networks

More information

IP Routing Volume Organization

IP Routing Volume Organization IP Routing Volume Organization Manual Version 20091105-C-1.03 Product Version Release 6300 series Organization The IP Routing Volume is organized as follows: Features IP Routing Overview Static Routing

More information

Routing Protocols. Autonomous System (AS)

Routing Protocols. Autonomous System (AS) Routing Protocols Two classes of protocols: 1. Interior Routing Information Protocol (RIP) Open Shortest Path First (OSPF) 2. Exterior Border Gateway Protocol (BGP) Autonomous System (AS) What is an AS?

More information

The Interconnection Structure of. The Internet. EECC694 - Shaaban

The Interconnection Structure of. The Internet. EECC694 - Shaaban The Internet Evolved from the ARPANET (the Advanced Research Projects Agency Network), a project funded by The U.S. Department of Defense (DOD) in 1969. ARPANET's purpose was to provide the U.S. Defense

More information

CCNA 3 (v v6.0) Chapter 6 Exam Answers % Full

CCNA 3 (v v6.0) Chapter 6 Exam Answers % Full CCNA 3 (v5.0.3 + v6.0) Chapter 6 Exam Answers 2017 100% Full ccnav6.com /ccna-3-v5-0-3-v6-0-chapter-6-exam-answers-2017-100-full.html CCNA Exam Answers 2017 CCNA 3 (v5.0.3 + v6.0) Chapter 6 Exam Answers

More information

Configuring IP Unicast Routing

Configuring IP Unicast Routing 28 CHAPTER This chapter describes how to configure IP unicast routing on the Catalyst 3750 Metro switch. Note For more detailed IP unicast configuration information, refer to the Cisco IOS IP and IP Routing

More information

IPv4 and Routing. based on Chapter 8 of CompTIA Network+ Exam Guide, Mike Meyers

IPv4 and Routing. based on Chapter 8 of CompTIA Network+ Exam Guide, Mike Meyers IPv4 and Routing based on Chapter 8 of CompTIA Network+ Exam Guide, Mike Meyers Routing How does a data packet get from its source network, to the destination's network? Individual networks are connected

More information

Configuring IP Unicast Routing

Configuring IP Unicast Routing Finding Feature Information, page 2 Information About, page 2 Information About IP Routing, page 2 How to Configure IP Routing, page 9 How to Configure IP Addressing, page 10 Monitoring and Maintaining

More information

CCNA EXPLORATION V4.0 ROUTING PROTOCOLS AND CONCEPTS

CCNA EXPLORATION V4.0 ROUTING PROTOCOLS AND CONCEPTS CCNA EXPLORATION V4.0 ACCESSIBLE INSTRUCTOR MATERIALS COMPARISON OF NEW CURRICULA WITH EXISTING CURRICULA Prepared by Cisco Learning Institute June 23, 2008 Routing Protocols and Concepts Summary New CCNA

More information

MULTICAST EXTENSIONS TO OSPF (MOSPF)

MULTICAST EXTENSIONS TO OSPF (MOSPF) MULTICAST EXTENSIONS TO OSPF (MOSPF) Version 2 of the Open Shortest Path First (OSPF) routing protocol is defined in RFC-1583. It is an Interior Gateway Protocol (IGP) specifically designed to distribute

More information

TDC 363 Introduction to LANs

TDC 363 Introduction to LANs TDC 363 Introduction to LANs Routing Protocols and RIP Greg Brewster DePaul University TDC 363 1 Dynamic Routing Routing Protocols Distance Vector vs. Link State Protocols RIPv1 & RIPv2 RIP Problems Slow

More information

Introduction to OSPF

Introduction to OSPF Introduction to OSPF ISP/IXP Workshops ISP/IXP Workshops 1999, Cisco Systems, Inc. 1 OSPF Dynamic Routing Protocol Link State technology Runs over IP, protocol 89 Designed by IETF for TCP/IP Supports VLSM

More information

OSPF. Unless otherwise noted, OSPF refers to OSPFv2 throughout this document.

OSPF. Unless otherwise noted, OSPF refers to OSPFv2 throughout this document. Open Shortest Path First () is a link state based interior gateway protocol developed by the working group of the Internet Engineering Task Force (IETF). At present, version 2 (RFC2328) is used. Introduction

More information

OSPF. About OSPF. CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.4 1

OSPF. About OSPF. CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.4 1 This chapter describes how to configure the Cisco ASA to route data, perform authentication, and redistribute routing information using the Open Shortest Path First () routing protocol. About, page 1 Guidelines

More information

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram networks 4.3 what s inside a router 4.4 IP: Internet Protocol datagram format IPv4 addressing ICMP 4.5 routing algorithms link state

More information