Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
The second part of configuring a router is to configure the routing table. If you have a good DHCP server, your routing table may already be configured. And for IPv4 routes, you can check the routing table with this command. Uh, oh. There is no default destination route available, and for IPv6 routing we use this command, and note the flags, there is no gateway, so there is no default route here either. So let's see what we have to do to add some default routes. Basically, I'd list the format for adding routes to IPv4 and IPv6 routing table, I just have to substitute the right IP address, and to make sure I get the right ip address, I check the configuration of the GATEWAY card, that's the card that's connected to the external network. So this is my IP version 4 Gateway address, and this is my IP version 6 Gateway address. So, to add the default route with the noted Gateway address, I run this command. And since I have two NETwork cards on the system, I need to make sure it's applied to the right network card. I confirm the result. And there it is. I now have a default route through interface eth0, the first Ethernet card. In the same fashion, I can add a default route to the IPv6 routing table. The pattern is similar, I just add the dash capital "A" in that six switch; I'm creating the default route here, the GATEWAY goes through this particular IPv6 address, and here's a little trick, at the command line when I highlight some text, I can copy it by pressing the middle mouse button. If you only have two buttons on your mouse, try pressing both left and right buttons together; they're usually configured as if it were a middle mouse button. And, of course, I need to make sure this is applied to the right network card. Oh, wait a second. What did I do wrong here. I have to add the address. Now, let's check the result. And there it is. I have a default GATEWAY going through the given IP address through the correct interface, but the fact that routing doesn't seem to be completely configured, it suggests that I need to configure a static route, and that's possible in various files shown here in the etc slash sysconfig slash network-scripts directory. The route-eth0 file applies to the first Ethernet card for IPv4 routing. Naturally, route6 dash eth0 applies to the first Ethernet card for IPv6 routing. Naturally, I'll substitute the IPv6 address given previously for IPV6ADDR. And the simplest way to do it, or the shortest way, is to say the default route goes via, whoops, that's the wrong address; the GATEWAY address I gave earlier. Let's just make sure it's written properly. Yup. There it is. And, now for the IPv6 address, I write it to the rt6-eth0 file, and there it is for IPv6. If you configure static routing with the GUI network configuration tool, you can do it for IPv4 addresses, but the result looks a little different. When I did it using the GUI network configuration tool, I get these three lines: GATEWAY0 equals my default Gateway, with the default network mask and network address. Those defaults are are 0 dot 0 dot 0 dot 0.
| Course: | Red Hat Certified Engineer |
| Author: | Michael Jang |
| SKU: | 33845 |
| ISBN: | 1-934743-47-X |
| Release Date: | 2008-01-18 |
| Duration: | 6.5 hrs / 94 lessons |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |