HP 6120XG HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 70

Configuring the Default Route, Example of Configuring Static Routes

Page 70 highlights

IP Routing Features Configuring Static IP Routes destination next-hop pair. The following example configures two static routes for traffic delivery and identifies two other null routes for which traffic should be discarded instead of forwarded. ProCurve(config)# ip route 10.10.40.0/24 10.10.10.1 ProCurve(config)# ip route 10.10.50.128/27 10.10.10.1 ProCurve(config)# ip route 10.10.20.177/32 reject ProCurve(config)# ip route 10.10.30.0/24 blackhole Configures a null route to drop traffic for the 10.50.10.0 network without any ICMP notification to the sender. Configures static routes to two different network destinations using the same nexthop router IP address. Configures a null route to drop traffic for the device at 10.50.10.177 and return an ICMP notification to the sender. Figure 3-6. Example of Configuring Static Routes Configuring the Default Route You can also assign the default route and enter it in the routing table. The default route is used for all traffic that has a destination network not reachable through any other IP routing table entry. For example, if 208.45.228.35 is the IP address of your ISP router, all non-local traffic could be directed to the ISP by entering this command: ProCurve(config)# ip route 0.0.0.0/0 208.45.228.35 3-24

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

IP Routing Features
Configuring Static IP Routes
destination next-hop pair.
The following example configures two static routes for traffic delivery and
identifies two other null routes for which traffic should be discarded instead
of forwarded.
Configures static
routes to two different
network destinations
ProCurve(config)# ip route 10.10.40.0/24 10.10.10.1
ProCurve(config)# ip route 10.10.50.128/27 10.10.10.1
using the same next-
hop router IP address.
ProCurve(config)# ip route 10.10.20.177/32 reject
Configures a null route
ProCurve(config)# ip route 10.10.30.0/24 blackhole
to drop traffic for the
device at 10.50.10.177
and return an ICMP
Configures a null route to drop traffic for the 10.50.10.0
notification to the
network without any ICMP notification to the sender.
sender.
Figure 3-6.
Example of Configuring Static Routes
Configuring the Default Route
You can also assign the default route and enter it in the routing table. The
default route is used for all traffic that has a destination network not reachable
through any other IP routing table entry. For example, if 208.45.228.35 is the
IP address of your ISP router, all non-local traffic could be directed to the ISP
by entering this command:
ProCurve(config)# ip route 0.0.0.0/0 208.45.228.35
3-24