Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sat Aug 19, 2017 2:43 am


Internet Protocol, Transport Control Protocol, Network protocols, Routing, Routers, IP aliases, Routes, Ethernet

Author Message
mandrei99
Post  Post subject: Junos: How to add static host mapping (/etc/hosts) in Junos configuration  |  Posted: Fri Oct 31, 2014 9:28 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 245

Offline
 

Junos: How to add static host mapping (/etc/hosts) in Junos configuration

Code:
admin@R1# set system static-host-mapping www4 inet 1.1.1.1
[edit]
admin@R1# commit   
commit complete
[edit]
admin@R1# run start shell
% cat /etc/hosts
1.1.1.1 www4





Top
killdill045
Post  Post subject: Re: Junos: How to add static host mapping (/etc/hosts) in Junos configuration  |  Posted: Wed Nov 26, 2014 7:22 am

Joined: Wed Nov 26, 2014 6:25 am
Posts: 1

Offline
And a workaround described as a Juniper KB is to configure a contributing /32 route on the LAN: http://kb.juniper.net/InfoCenter/index? ... id=KB12430


Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Junos: How to add static host mapping (/etc/hosts) in Junos configuration"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. FreeBSD and Linux: How to find live hosts on a directly connected subnet with ping

mandrei99

0

995

Mon Jan 12, 2015 9:24 am

mandrei99 View the latest post

There are no new unread posts for this topic. Fatal error: Trying to set unexisting parameter 'gmysql-host' - PowerDNS error on Debian

mandrei99

0

3833

Tue Jan 13, 2015 12:03 pm

mandrei99 View the latest post

There are no new unread posts for this topic. How to add (persistent) static ARP entries in Linux

mandrei99

0

10623

Mon Sep 29, 2014 5:17 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO