> On Jun 1, 2014, at 15:29, "Robert Mustacchi via smartos-discuss" > <[email protected]> wrote: > >> On 06/01/2014 08:22 AM, Anil Jangity via smartos-discuss wrote: >> >>> >>> What router would traffic sourced from that host use to get to an external >>> network? >>> >>> Multiple default routes can make troubleshooting confusing. >> >> >> I have several classless subnets and if I wanted to add IP addresses from >> these different networks on a single zone, I think the only way to is to add >> multiple default routes. >> >> So, the answer to your question is, whichever router the network is >> associated with. > > vmadm does have a routes option, but it doesn't allow you to specify it > as a default route. It might help if you could draw out a sample routing > table that you want and then we can see if that will fit into what vmadm > can give you out of the box, otherwise you can always use the route(1M) > command with the -p option in the zone. > > Robert
The necessary route commands could be issued with a user-script in customer_metadata like the "Passing SSH keys to the VM" example on the wiki: http://wiki.smartos.org/display/DOC/How+to+create+a+zone+(+OS+virtualized+machine+)+in+SmartOS ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
