Configuring Tunnel Interfaces (SRC CLI)
You can configure tunnel interfaces to use the redirect server in deployments where a router running JUNOSe Software does not have a direct connection to the C Series Controller.
Before you configure a tunnel interface, configure the interface on the C Series Controller.
See Configuring Gigabit Ethernet Interfaces for IPv4 (SRC CLI)
Use the following configuration statements to configure tunnel interfaces at the [edit] hierarchy level:
- interfaces name tunnel
{
- mode (ipip | gre | sit);
- destination destination ;
- source source;
- key key ;
- interface interface ;
- ttl ttl ;
- }
- interfaces name unit unit-number family inet {
- address address ;
- }
To configure a tunnel interface on a C Series Controller:
- From configuration mode, access the configuration statement
that configures tunnel interfaces.
For example:
- Configure the type of tunnel.
or
or
- Specify the IP address of the remote end of the tunnel.
For example:
- (Optional) Specify an IP address that will not change
for the local tunnel endpoint. It must be an address on another interface
of this host.
For example:
- (Optional) For a GRE tunnel, specify a key.
For example:
- (Optional) Specify an existing physical
interface on the C Series Controller.
For example:
- (Optional) Specify the lifetime of tunneled packets.
For example:
- Verify the configuration by running the show command.
For example:
[edit interfaces] user@host# show unit 0 { family { inet6 { address 192.2.0.10/24; } } } ip-tunnel { tunnel { mode ipip; destination 192.0.2.20; source 192.20.10.5; interface eth0; ttl 110; } }

