cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
532
Views
0
Helpful
2
Replies

BGP WEBSERVER PUBLISHING

Sihanu N
Level 1
Level 1

Hi,

I wanted to publish a webserver without using nat.

With bgp I publish full network.. network 103.10.168.0

If I put one of the ip from the pool to webserver it avialable from internet???

103.10.168.4

255.255.255.0

103.10.168.1

interface GigabitEthernet0/0

description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$

ip address 117.239.74.241 255.255.255.252

ip virtual-reassembly in

duplex auto

speed auto

!

interface GigabitEthernet0/1

ip address 103.10.168.1 255.255.255.0

duplex auto

speed auto

router bgp 131787

bgp log-neighbor-changes

neighbor 117.239.74.242 remote-as 9829

neighbor 117.239.74.242 version 4

!

address-family ipv4

  network 103.10.168.0 mask 255.255.255.0

  neighbor 117.239.74.242 activate

exit-address-family

show ip bgp summ

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd

117.239.74.242  4         9829       4       5        3    0    0 00:00:33        1

thanks

Sihanu N

2 Replies 2

ahmad82pkn
Level 3
Level 3

You dont need NAT if you are assigning public IP directly to Server.

All you need is routing available.

by the on which interface your bandwidht is connected on this router?

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Sihanu,

yes without NAT, If there is OSI layer2 connectivity between the web server NIC and  router gi0/1 interface for example with a LAN switch in the middle

note: your prefix is on the internet so eBGP is fine.

Hope to help

Giuseppe

Review Cisco Networking for a $25 gift card