Media Flow Controller Configuration Tasks : Basic (System) Configurations : Configuring Interfaces, Hostname, Domain List, DNS, and Default Gateway

Configuring Interfaces, Hostname, Domain List, DNS, and Default Gateway
When Media Flow Controller initializes, the on-board Ethernet interfaces are numbered Eth0, Eth1, and so on. When a NIC, dual- or quad- port, is attached to the server, the 1st NIC (goes by PCI channel number) gets interface names Eth10, Eth11, and so on to Eth19. Second NIC gets the names Eth20, Eth21, and so on to Eth29; it is assumed that only up to 10 Ethernet interfaces per NIC exist. See the Media Flow Controller and Media Flow Manager Installation Guide, chapter 2 “Getting Started,” “Example Machine Setup” section for more information.
Tip! Wherever there is a zero BIT in the netmask, there must be a zero BIT in the IP address for the route. For example:
192.168.4.0 /24 or 192.168.0.0 /16
Tip! You may want to temporarily change the CLI default logout time (900 = 15 minutes); to do this, use the command below.
cli session auto-logout <seconds>
1.
Configure interface IP addresses for management (eth0), and origin fetch (eth1). Later, use the delivery protocol commands to configure traffic interfaces as needed (described in “Policy Configurations”). It is important to keep the traffic ports separate from the origin fetch ports for proper functioning of assured-flow, if used. Use show interfaces to verify.
interface <interface_name> ip address <mangagement_IP_address> <netmask_or_length>
Note! It is important that eth0 be configured as the management interface. You can ensure this during installation with the eth-setup command; however, if you have completed installation and discover that your licenses are no good, it may be because eth0 has not been set. To do this at the command line, first discover which interface has been assigned an IP address and then assign it as the management interface:
show interfaces
management interface
2.
service restart mod-delivery
3.
hostname <name_for_the_appliance>
ip domain-list <domain_name_for_resolving_hostnames> ...
ip name-server <DNS_server_IP_address>
4.
Configure the default gateway. Use show ip default-gateway to verify.
ip default-gateway <default_gateway_IP_address>
Example:
test-vos (config) # show interface
<aa:bb:cc:dd:ee:ff> Set a mac-address for eth0
00:0c:29:44:31:c9
N/A
test-vos (config) # management interface 100:0c:29:44:31:c9
test-vos (config) # interface eth0 ip address 123.45.10.9 /24
test-vos (config) # hostname test-vos
test-vos (config) # ip domain-list example.local
test-vos (config) # ip name-server 172.19.172.1
test-vos (config) # ip default-gateway 123.45.10.1
test-vos (config) # service restart mod-delivery
To make these configurations using the Management Console, go to the System Config tab and use the page links on the left; see System Config Tab for details.
Cut and Paste Interface CLI Configuration
You can copy this series of commands, plug in your variables, and save them to a file to re-use as needed.
enable
configure terminal
interface eth0 ip address <IP_address> {<netmask> | <mask_length>}
hostname <name>
ip domain-list <domain_name_for_resolving_hostnames> ...
ip name-server <IP_address>
ip default-gateway <IP_address>
service restart mod-delivery
write memory

Report an Error
Media Flow Controller Administrator's Guide and CLI Command Reference
Copyright © 2010 Juniper Networks, Inc.