I'm moving into a new data center. I don't consider myself a network engineer or anything but I do understand the basics. The new data center I am moving into routes my network to me a bit differently than my old data center, so I thought I'd post here and ask for some help. Here's what they are doing:
I am assigned a /29 block which they configure as the routing network, it looks like this:
Routing Network: A.A.A.0
Routing Network Subnet Mask: 255.255.255.248
Routing Network Def Gateway: A.A.A.1
Customer Usable Address: A.A.A.4
I've been assigned a /28 block which is B.B.B.240/28. They stated that in order for me to use my allocated blocks, I had to act as my own gateway, routing the traffic through the routing network. This goes just a bit beyond my networking knowledge, though I still understand it, I just don't know exactly how to execute. They said I could implement a Cisco or a Layer 3 switch to handle this, but I'd rather just put FreeBSD on it and make it a firewall / gateway. So this is what I think I'm supposed to do. I'm not officially in the new data center yet so I haven't had an opportunity to test this scenario:
The uplink from the data center plugs into interface 1 on my FreeBSD system. It gets assigned A.A.A.4 with a default gateway of A.A.A.1. Interface 2 on the same FreeBSD system gets assigned B.B.B.240. I then enable gateway routing in FreeBSD by setting
in /etc/rc.conf. Interface 2 would plug into a switch where all the other servers will plug into. The first server plugged into this switch would be assigned B.B.B.241 with a default gateway of B.B.B.240.
My assumption is that traffic will be routed through the gateway and then through the routing network. I'm also assuming that this traffic will show as from B.B.B.241, not any address on the gateway itself. I'm also assuming that inbound traffic to the data center will route to my gateway, and then through interface 2 on my firewall and then to the destination address.
Am I way off, and if so, can anyone offer advice or clarification? I really appreciate anyones help on this, I can't afford to be spending too much play around time on this once I'm actually in the new data center. My old data center simply gave my a block, and the gateway was on the same subnet, so they handled all the routing for me. It was a bit more plug and play, but I do understand the advantages to how this new data center is configuring my network.
Thanks again.
--Matt
I am assigned a /29 block which they configure as the routing network, it looks like this:
Routing Network: A.A.A.0
Routing Network Subnet Mask: 255.255.255.248
Routing Network Def Gateway: A.A.A.1
Customer Usable Address: A.A.A.4
I've been assigned a /28 block which is B.B.B.240/28. They stated that in order for me to use my allocated blocks, I had to act as my own gateway, routing the traffic through the routing network. This goes just a bit beyond my networking knowledge, though I still understand it, I just don't know exactly how to execute. They said I could implement a Cisco or a Layer 3 switch to handle this, but I'd rather just put FreeBSD on it and make it a firewall / gateway. So this is what I think I'm supposed to do. I'm not officially in the new data center yet so I haven't had an opportunity to test this scenario:
The uplink from the data center plugs into interface 1 on my FreeBSD system. It gets assigned A.A.A.4 with a default gateway of A.A.A.1. Interface 2 on the same FreeBSD system gets assigned B.B.B.240. I then enable gateway routing in FreeBSD by setting
Code:
gateway_enable="YES"
My assumption is that traffic will be routed through the gateway and then through the routing network. I'm also assuming that this traffic will show as from B.B.B.241, not any address on the gateway itself. I'm also assuming that inbound traffic to the data center will route to my gateway, and then through interface 2 on my firewall and then to the destination address.
Am I way off, and if so, can anyone offer advice or clarification? I really appreciate anyones help on this, I can't afford to be spending too much play around time on this once I'm actually in the new data center. My old data center simply gave my a block, and the gateway was on the same subnet, so they handled all the routing for me. It was a bit more plug and play, but I do understand the advantages to how this new data center is configuring my network.
Thanks again.
--Matt