HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Conf - Page 147

Network requirements, Configuration procedure, Network diagram

Page 147 highlights

Configuration procedure To configure an IPv4 over IPv4 tunnel: Step Command 1. Enter system view. system-view 2. Enter tunnel interface view. interface tunnel number 3. Configure an IPv4 address ip address ip-address { mask | for the tunnel interface. mask-length } [ sub ] 4. Specify the IPv4 over IPv4 tunnel mode. tunnel-protocol ipv4-ipv4 5. Configure a source address or interface for the source { ip-address | tunnel interface. interface-type interface-number } 6. Configure a destination address for the tunnel interface. destination ip-address Remarks N/A N/A By default, no IPv4 address is configured for the tunnel interface. IPv4 over IPv4 tunnel by default. The same tunnel mode should be configured at both ends of the tunnel. Otherwise, packet delivery will fail. By default, no source address or interface is configured for the tunnel. By default, no destination address is configured for the tunnel. Configuration example Network requirements As shown in Figure 67, the two subnets Group 1 and Group 2 use private IPv4 addresses. Configure an IPv4 over IPv4 tunnel between Switch A and Switch B to make the two subnets reachable to each other. Figure 67 Network diagram Configuration procedure Before configuring an IPv4 over IPv4 tunnel, make sure that Switch A and Switch B have the corresponding VLAN interfaces created and are reachable to each other. • Configure Switch A: # Configure an IPv4 address for VLAN-interface 100. system-view [SwitchA] interface vlan-interface 100 [SwitchA-Vlan-interface100] ip address 10.1.1.1 255.255.255.0 [SwitchA-Vlan-interface100] quit 139

  • 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
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

139
Configuration procedure
To configure an IPv4 over IPv4 tunnel:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter tunnel interface view.
interface tunnel
number
N/A
3.
Configure an IPv4 address
for the tunnel interface.
ip
address
ip-address
{
mask
|
mask-length
} [
sub
]
By default, no IPv4 address is
configured for the tunnel interface.
4.
Specify the IPv4 over IPv4
tunnel mode.
tunnel-protocol
ipv4-ipv4
IPv4 over IPv4 tunnel by default.
The same tunnel mode should be
configured at both ends of the tunnel.
Otherwise, packet delivery will fail.
5.
Configure a source
address or interface for the
tunnel interface.
source
{
ip-address
|
interface-type interface-number
}
By default, no source address or
interface is configured for the tunnel.
6.
Configure a destination
address for the tunnel
interface.
destination
ip-address
By default, no destination address is
configured for the tunnel.
Configuration example
Network requirements
As shown in
Figure 67
, the two subnets Group 1 and Group 2 use private IPv4 addresses. Configure an
IPv4 over IPv4 tunnel between Switch A and Switch B to make the two subnets reachable to each other.
Figure 67
Network diagram
Configuration procedure
Before configuring an IPv4 over IPv4 tunnel, make sure that Switch A and Switch B have the
corresponding VLAN interfaces created and are reachable to each other.
Configure Switch A:
# Configure an IPv4 address for VLAN-interface 100.
<SwitchA> system-view
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 10.1.1.1 255.255.255.0
[SwitchA-Vlan-interface100] quit